updated makefile
set version number
This commit is contained in:
parent
fd2e8e52e8
commit
0173d8c396
4 changed files with 6 additions and 31 deletions
31
Makefile
31
Makefile
|
@ -12,33 +12,7 @@ KEYSTORE = ~/android-keystore.jks
|
||||||
lab:
|
lab:
|
||||||
ionic serve -lc
|
ionic serve -lc
|
||||||
|
|
||||||
prepare:
|
clean: wwwclean
|
||||||
ionic cordova prepare android --prod
|
|
||||||
|
|
||||||
device:
|
|
||||||
ionic cordova run android -lc --address 0.0.0.0 --device
|
|
||||||
|
|
||||||
emulator:
|
|
||||||
ionic cordova run android -lc --address 0.0.0.0 --emulator
|
|
||||||
|
|
||||||
$(UNALIGNED):
|
|
||||||
ionic cordova build android --release --prod
|
|
||||||
|
|
||||||
$(ALIGNED): $(UNALIGNED)
|
|
||||||
cd $(OUT_DIR)
|
|
||||||
$(ANDROID_HOME)/build-tools/*/zipalign -v -p 4 $< $@
|
|
||||||
|
|
||||||
$(APK): $(ALIGNED)
|
|
||||||
cd $(OUT_DIR)
|
|
||||||
$(ANDROID_HOME)/build-tools/*/apksigner sign --ks $(KEYSTORE) --out $@ $<
|
|
||||||
ls $@
|
|
||||||
|
|
||||||
release: $(APK)
|
|
||||||
|
|
||||||
clean: androidclean wwwclean
|
|
||||||
|
|
||||||
androidclean:
|
|
||||||
cd platforms/android && ./gradlew clean
|
|
||||||
|
|
||||||
wwwclean:
|
wwwclean:
|
||||||
rm -r www
|
rm -r www
|
||||||
|
@ -48,7 +22,7 @@ distclean:
|
||||||
|
|
||||||
init:
|
init:
|
||||||
npm install
|
npm install
|
||||||
ionic cordova platform add android
|
ionic cordova platform add browser
|
||||||
|
|
||||||
ut:
|
ut:
|
||||||
npm run ionic:build
|
npm run ionic:build
|
||||||
|
@ -57,4 +31,5 @@ ut:
|
||||||
|
|
||||||
pwa:
|
pwa:
|
||||||
ionic build --prod
|
ionic build --prod
|
||||||
|
cp resources/*.png www/assets/icon
|
||||||
cp -r www ~/opt/Goober
|
cp -r www ~/opt/Goober
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<widget id="com.monkeystew.goober_m" version="0.7.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
<widget id="com.monkeystew.goober_m" version="0.8.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
|
||||||
<name>Goober</name>
|
<name>Goober</name>
|
||||||
<description>Goober, a mobile app for pnut.io</description>
|
<description>Goober, a mobile app for pnut.io</description>
|
||||||
<author email="gilag@monkeystew.com" href="https://monkeystew.org">Morgan McMillian</author>
|
<author email="gilag@monkeystew.com" href="https://monkeystew.org">Morgan McMillian</author>
|
||||||
|
|
|
@ -14,7 +14,7 @@ import { NavController, NavParams } from 'ionic-angular';
|
||||||
})
|
})
|
||||||
export class AboutPage {
|
export class AboutPage {
|
||||||
|
|
||||||
private version: string = '0.7.0';
|
private version: string = '0.8.0';
|
||||||
|
|
||||||
constructor(public navCtrl: NavController, public navParams: NavParams) {
|
constructor(public navCtrl: NavController, public navParams: NavParams) {
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
"desktop": "goober.desktop"
|
"desktop": "goober.desktop"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"version": "0.7.0",
|
"version": "0.8.0",
|
||||||
"maintainer": "Morgan McMillian <gilag@monkeystew.com>",
|
"maintainer": "Morgan McMillian <gilag@monkeystew.com>",
|
||||||
"framework" : "ubuntu-sdk-16.04"
|
"framework" : "ubuntu-sdk-16.04"
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue