We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bcaa84f commit eb30f10Copy full SHA for eb30f10
1 file changed
Makefile
@@ -1,4 +1,7 @@
1
-all: autoload build install
+all: clear autoload build
2
+
3
+clear:
4
+ rm -f clitools.phar
5
6
build:
7
bash compile.sh
@@ -14,3 +17,21 @@ update:
14
17
15
18
sloccount:
16
19
sloccount src/app/ src/command.php
20
21
+install-box:
22
+ curl -LSs https://box-project.github.io/box2/installer.php | php
23
+ mv box.phar /usr/local/bin
24
25
+release: build
26
+ifndef desc
27
+ @echo "Run it as 'make release desc=tralala'"
28
+else
29
+ echo github-release release -u webdevops -r clitools -t "$(TAG)" -n "$(TAG)" --description "$(desc)"
30
+ echo "Uploading clitools.phar" && \
31
+ echo github-release upload -u webdevops \
32
+ -r clitools \
33
+ -t $(TAG) \
34
+ -f "clitools.phar" \
35
+ -n "clitools.phar"
36
+endif
37
0 commit comments