Last active
June 26, 2016 23:32
-
-
Save thislooksfun/b578298592aa55deb067ec98c135fdcf to your computer and use it in GitHub Desktop.
Work with Screeps modules in folders
This file contains hidden or 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
mkdir dist | |
cd javascript | |
for f in $(find . -name '*.js'); do | |
f1="${f/.\//}" | |
cp $f "../dist/${f1//\//.}" | |
done | |
cd .. | |
grunt screeps | |
rm -r dist |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment