mirror of
https://git.alemi.dev/tci.git
synced 2024-11-27 02:04:49 +01:00
docs: documented that tci uses custom hook
because i'm definitely forgetting about this...
This commit is contained in:
parent
f39c60367a
commit
d37477d936
1 changed files with 11 additions and 0 deletions
11
.tci
11
.tci
|
@ -4,3 +4,14 @@ echo "building tci"
|
|||
cargo build --release
|
||||
echo "installing tci"
|
||||
cp ./target/release/tci /opt/bin/tci
|
||||
|
||||
# note that tci can NOT overwrite itself while it's running!
|
||||
# to make this work, tci is the only repo with a custom hook
|
||||
# installed: it just copies tci bin in a temp path and runs
|
||||
# it from there, so the `cp` command above won't fail
|
||||
#
|
||||
# here is my custom post-update hook for tci:
|
||||
# #!/bin/bash
|
||||
# cp /opt/bin/tci /srv/git/.tci-tmp-ci
|
||||
# /srv/git/.tci-tmp-ci $@
|
||||
# rm /srv/git/.tci-tmp-ci
|
||||
|
|
Loading…
Reference in a new issue