This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Create a file with these contents in your repo at | |
# .git/hooks/pre-commit | |
# Place any .sscript files in a folder called Packed/ | |
# Extract any .sscript files from a Packed/ directory | |
for i in `find . -name "*.sscript" -type f -exec echo \{\} \;`; do | |
# Only act if within a Packed directory |