Skip to content

Instantly share code, notes, and snippets.

@scawp
Created November 22, 2021 13:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scawp/8a6a61bd8c79a808cf3245a67537cbe0 to your computer and use it in GitHub Desktop.
Save scawp/8a6a61bd8c79a808cf3245a67537cbe0 to your computer and use it in GitHub Desktop.
A simple Love2D build script with ability to ignore top level files and directories
#!/bin/bash
rm ./tools/build/build.love
find * -maxdepth 0 | grep -vFf ./tools/build/ignore.txt | zip -r ./tools/build/build.love -@
submodules
tools
.gitignore
.gitmodules
workspace.code-workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment