-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (33 loc) · 1.27 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
build: node_modules
rm -f ./src/platforms/android/nativescript_yoonit_handshake.aar
cd src && npm run build
node_modules: ./src/package.json
rm -rf ./src/node_modules
cd src && npm i
pack:
rm -f ./publish/package/nativescript-yoonit-handshake-1.0.0.tgz
cd publish && chmod 777 pack.sh
cd publish && ./pack.sh
mv ./publish/package/nativescript-yoonit-handshake-1.0.0.tgz ./publish
extract:
rm -rf ./publish/node_modules
cd publish && npm i
cd publish && node extractTGZ.js
development: build pack extract
cd publish && chmod 777 deploy.development.sh
cd publish && ./deploy.development.sh
rm -f ./publish/package/package.json
rm -f ./publish/nativescript-yoonit-handshake-1.0.0.tgz
rm -rf ./publish/package
rm -f ./src/platforms/android/nativescript_yoonit_handshake.aar
rm -f ./src/platforms/android/yoonit-handshake-debug.aar
rm -f ./src/platforms/android/yoonit-handshake-release.aar
deploy: build pack extract
cd publish && chmod 777 deploy.sh
cd publish && ./deploy.sh
rm -f ./publish/package/package.json
rm -f ./publish/nativescript-yoonit-handshake-1.0.0.tgz
rm -rf ./publish/package
rm -f ./src/platforms/android/nativescript_yoonit_handshake.aar
rm -f ./src/platforms/android/yoonit-handshake-debug.aar
rm -f ./src/platforms/android/yoonit-handshake-release.aar