local-build.sh 346 B

12345678910111213141516171819
  1. #!/bin/bash
  2. set -x
  3. go build -o app appinstaller/appinstaller.go appinstaller/app_notifier.go
  4. if [ $? -eq 0 ]; then
  5. cp app ~/github/clockworkpi/launchergo
  6. fi
  7. go build -o launchergo main.go mainscreen.go
  8. #go build -ldflags="-s -w" -o main main.go mainscreen.go
  9. if [ $? -eq 0 ]; then
  10. cp launchergo ~/github/clockworkpi/launchergo
  11. fi