diff options
| author | David Moc <personal@cdatgoose.org> | 2026-05-17 01:16:05 +0200 |
|---|---|---|
| committer | David Moc <personal@cdatgoose.org> | 2026-05-17 01:16:05 +0200 |
| commit | 17c316736f811ea4987252d23768a131036df826 (patch) | |
| tree | 89857d1438f135c5d81a9d097d8200f669d704c3 /build.sh | |
idk
Signed-off-by: David Moc <personal@cdatgoose.org>
Diffstat (limited to 'build.sh')
| -rwxr-xr-x | build.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..6b52919 --- /dev/null +++ b/build.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env sh +set -e + +cabal build exe:tasker + +bin=$(cabal list-bin exe:tasker) + +sudo install -Dm755 "$bin" /usr/local/bin/tasker +sudo install -Dm644 tasker.fish /usr/share/fish/vendor_completions.d/tasker.fish + +echo "Installed $bin -> /usr/local/bin/tasker" +echo "Installed tasker.fish -> /usr/share/fish/vendor_completions.d/tasker.fish" |
