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.

16 lines

  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
  4. rm -r achromata
  5. mkdir achromata
  6. mv secretsanta.exe achromata/achromata.exe
  7. cp achromata
  8. cp -r res achromata/res
  9. rm
  10. zip -r achromata