summaryrefslogtreecommitdiffstats
path: root/update.sh
diff options
context:
space:
mode:
authorCole Mickens <cole.mickens@gmail.com>2018-11-03 21:17:43 -0700
committerCole Mickens <cole.mickens@gmail.com>2018-11-03 21:18:03 -0700
commite293b56a145f3a78d168eba4698d95f143ed8575 (patch)
treea1662716de29bade92eeb0bcc0e9b4375b0d7c2c /update.sh
parentedfa197c19a26b978fd7f525795d3be36ed2e018 (diff)
kanshi: init
Diffstat (limited to 'update.sh')
-rwxr-xr-xupdate.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/update.sh b/update.sh
index 4ce3e9d..54a24bb 100755
--- a/update.sh
+++ b/update.sh
@@ -46,6 +46,7 @@ update "sway-beta" "swaywm" "sway" "master"
update "slurp" "emersion" "slurp" "master"
update "grim" "emersion" "grim" "master"
update "mako" "emersion" "mako" "master"
+update "kanshi" "emersion" "kanshi" "master"
update "wlstream" "atomnuker" "wlstream" "master"
update "waybar" "Alexays" "waybar" "master"
update "wayfire" "WayfireWM" "wayfire" "master"
@@ -61,6 +62,7 @@ update "redshift-wayland" "minus7" "redshift" "wayland"
#update "waymonad" "waymonad" "waymonad" "master"
# update README.md
+set +x
replace="$(printf "<!--pkgs-->")"
replace="$(printf "%s\n| Attribute Name | Last Upstream Commit Time |" "${replace}")"
replace="$(printf "%s\n| -------------- | ------------------------- |" "${replace}")"
@@ -68,6 +70,7 @@ for p in "${pkgentries[@]}"; do
replace="$(printf "%s\n%s\n" "${replace}" "${p}")"
done
replace="$(printf "%s\n<!--pkgs-->" "${replace}")"
+set -x
rg --multiline '(?s)(.*)<!--pkgs-->(.*)<!--pkgs-->(.*)' "README.md" \
--replace "\$1${replace}\$3" \
@@ -78,5 +81,5 @@ rg --multiline '(?s)(.*)<!--update-->(.*)<!--update-->(.*)' "README.md" \
> README2.md; mv README2.md README.md
# build all and push to cachix
-nix-build --no-out-link build.nix | cachix push "${cachixremote}"
+nix-build --no-out-link --keep-going build.nix | cachix push "${cachixremote}"