updated makefile

set version number
This commit is contained in:
Morgan McMillian 2019-05-19 08:16:33 -07:00
parent fd2e8e52e8
commit 0173d8c396
4 changed files with 6 additions and 31 deletions

View file

@ -12,33 +12,7 @@ KEYSTORE = ~/android-keystore.jks
lab:
ionic serve -lc
prepare:
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
clean: wwwclean
wwwclean:
rm -r www
@ -48,7 +22,7 @@ distclean:
init:
npm install
ionic cordova platform add android
ionic cordova platform add browser
ut:
npm run ionic:build
@ -57,4 +31,5 @@ ut:
pwa:
ionic build --prod
cp resources/*.png www/assets/icon
cp -r www ~/opt/Goober

View file

@ -1,5 +1,5 @@
<?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>
<description>Goober, a mobile app for pnut.io</description>
<author email="gilag@monkeystew.com" href="https://monkeystew.org">Morgan McMillian</author>

View file

@ -14,7 +14,7 @@ import { NavController, NavParams } from 'ionic-angular';
})
export class AboutPage {
private version: string = '0.7.0';
private version: string = '0.8.0';
constructor(public navCtrl: NavController, public navParams: NavParams) {
}

View file

@ -9,7 +9,7 @@
"desktop": "goober.desktop"
}
},
"version": "0.7.0",
"version": "0.8.0",
"maintainer": "Morgan McMillian <gilag@monkeystew.com>",
"framework" : "ubuntu-sdk-16.04"
}