~f4814n/frost

89c5bb73f320dffd2696bf131844781bd7d8b008 — Fabian Geiselhart 3 months ago 44192ba
Remove script
1 files changed, 0 insertions(+), 34 deletions(-)

D build.sh
D build.sh => build.sh +0 -34
@@ 1,34 0,0 @@
#!/usr/bin/env bash

build_android() {
	go run gioui.org/cmd/gogio -target android -appid de.f4814n.frost $GOGIO_FLAGS ./cmd/frost
	apksigner sign --ks $KEYSTORE frost.apk
}

build_linux() {
	go build ./cmd/frost
}

build_wasm() {
	go run gioui.org/cmd/gogio -target js $GOGIO_FLAGS -o frost.wasm ./cmd/frost
}

case "$1" in
"android")
	set -x
	build_android
	;;
"linux")
	set -x 
	build_linux
	;;
"wasm")
	set -x
	build_wasm
	;;
"all")
	set -x
	build_wasm
	build_linux
	build_android
esac