Skip to content

Commit 35bab11

Browse files
relastleHiroki-Konishi
authored andcommitted
Update: make sure that creating statik dir when embedded zsh file is not up-to-date
1 parent c546217 commit 35bab11

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
.PHONY: main
2-
main:
2+
main: statik
3+
# build
4+
go build
5+
6+
statik: ./shell/pmy.zsh
37
# Remove comments from zsh source code
48
sed '/^[[:blank:]]*#/d;s/#.*//' ./shell/pmy.zsh > ./_shell/_pmy.zsh
59
# Make statik files
610
statik -src=./_shell
7-
# build
8-
go build
911

1012
.PHONY: clean
1113
clean:

statik/statik.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)