diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-07 21:52:55 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-07 21:52:55 +0200 |
| commit | 6ed532078680a6735811aa40a3b41c2a77c0da42 (patch) | |
| tree | 0b7b82443aa0c6941d603022bb6f959863d36a31 /Makefile | |
| parent | 391065f33078e004ee3ff3614331631e5dc68584 (diff) | |
| download | git-hooks-6ed532078680a6735811aa40a3b41c2a77c0da42.tar.gz git-hooks-6ed532078680a6735811aa40a3b41c2a77c0da42.zip | |
Update index on every push
Diffstat (limited to '')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
| @@ -1,4 +1,5 @@ | |||
| 1 | all: updateall index | 1 | all: push |
| 2 | ssh git@tronto.net /home/git/BIN/post-receive-stagit all | ||
| 2 | 3 | ||
| 3 | push: | 4 | push: |
| 4 | ssh git@tronto.net mkdir -p BIN FILES | 5 | ssh git@tronto.net mkdir -p BIN FILES |
| @@ -8,9 +9,6 @@ push: | |||
| 8 | index: push | 9 | index: push |
| 9 | ssh git@tronto.net /home/git/BIN/post-receive-stagit index | 10 | ssh git@tronto.net /home/git/BIN/post-receive-stagit index |
| 10 | 11 | ||
| 11 | updateall: push | ||
| 12 | ssh git@tronto.net /home/git/BIN/post-receive-stagit all | ||
| 13 | |||
| 14 | clean: | 12 | clean: |
| 15 | ssh git@tronto.net rm -r FILES/* BIN/* | 13 | ssh git@tronto.net rm -r FILES/* BIN/* |
| 16 | 14 | ||
