-
Notifications
You must be signed in to change notification settings - Fork 13
/
makefile
43 lines (30 loc) · 1.09 KB
/
makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
ANT := ant -lib lib
build-production:
$(ANT) clean build
publish: clean build-production
$(ANT) tar spk syno-repo spk-dsm6 syno-repo-dsm6 qpkg checksum
run-client:
docker run --rm -it -v "${PWD}/client-extjs:/src" -p 1841:1841 rednoah/sencha-build app watch
run-server:
docker run --rm -it -v "${PWD}/server-nodejs:/server-nodejs" -v "${PWD}/dist:/dist" --workdir /server-nodejs -p 5452:5452 --entrypoint /server-nodejs/start.sh rednoah/filebot:node
npm-install:
docker run --rm -it -v "${PWD}/server-nodejs:/server-nodejs" --workdir /server-nodejs node:latest npm install
sencha-app-upgrade:
docker run --rm -it -v "${PWD}/client-extjs:/src" rednoah/sencha-build app upgrade
sencha-show-props:
docker run --rm -it -v "${PWD}/client-extjs:/src" rednoah/sencha-build diag show-props
sencha-bash:
docker run --rm -it -v "${PWD}/client-extjs:/src" --entrypoint /bin/bash rednoah/sencha-build
resolve: npm-install
-rm -rvf lib
$(ANT) resolve
spk:
$(ANT) clean build spk
qpkg:
$(ANT) clean build qpkg
clean:
rm -rvf build dist release
reset:
git reset --hard
git pull
git --no-pager log -1