make env
Showing
2 changed files
with
5 additions
and
0 deletions
... | @@ -18,11 +18,15 @@ build: | ... | @@ -18,11 +18,15 @@ build: |
18 | install: | 18 | install: |
19 | cp target/$(target)/$(prog) ./$(prog)$(extension) && chmod +x ./$(prog)$(extension) | 19 | cp target/$(target)/$(prog) ./$(prog)$(extension) && chmod +x ./$(prog)$(extension) |
20 | 20 | ||
21 | env: | ||
22 | cp ./.env.example ./.env | ||
23 | |||
21 | all: build install | 24 | all: build install |
22 | 25 | ||
23 | rebuild: clean build install | 26 | rebuild: clean build install |
24 | 27 | ||
25 | clean: | 28 | clean: |
29 | rm ./.env | ||
26 | rm ./$(prog)$(extension) | 30 | rm ./$(prog)$(extension) |
27 | 31 | ||
28 | help: | 32 | help: | ... | ... |
-
Please register or sign in to post a comment