Skip to content

Commit ba81eca

Browse files
committed
Update
1 parent 900b12c commit ba81eca

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
app
1+
gitar
22
*.zip

examples/singleapp/git_archive/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# これは何?
22

3+
git + ar(chive) = gitar
4+
35
gitのコミット差分から変更があったファイルのみを抽出してアーカイブするツールです。
46

57
コマンドラインで利用するツールとなります。

examples/singleapp/git_archive/Taskfile.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22

33
version: '3'
44

5+
vars:
6+
APP_NAME: gitar
7+
58
tasks:
69
default:
710
cmds:
@@ -10,11 +13,11 @@ tasks:
1013
- task: run
1114
clean:
1215
cmds:
13-
- rm -f ./app
16+
- rm -f ./{{.APP_NAME}}
1417
build:
1518
cmds:
16-
- go build -o app .
19+
- go build -o {{.APP_NAME}} .
1720
run:
1821
cmds:
19-
- ./app
22+
- ./{{.APP_NAME}}
2023
- unzip -l archive.zip

0 commit comments

Comments
 (0)