You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

winbuild.sh 373B

12345678910111213141516
  1. #!/bin/bash
  2. # Use this script cross-compile from linux to windows
  3. CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOOS=windows CGO_ENABLED=1 go build eventide.space/secretsanta
  4. rm -r achromata
  5. mkdir achromata
  6. mv secretsanta.exe achromata/achromata.exe
  7. cp Readme.md achromata
  8. cp -r res achromata/res
  9. rm achromata-windows.zip
  10. zip -r achromata-windows.zip achromata