-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ansuel Smith <[email protected]>
- Loading branch information
Showing
10 changed files
with
184 additions
and
93 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#! /bin/sh | ||
|
||
for type in css js lua lp map po; do | ||
mkdir data/"$type"_files | ||
echo Creating dir '$type'_files for files to be processed | ||
for file in `find . -name "*.$type" -type f`; do | ||
echo Copying $file | ||
cp -a --parents "$file" data/"$type"_files | ||
done | ||
done |
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
TYPE="$(cat $HOME/gui_build/data/type)" | ||
# if [ $TYPE == "DEV" ]; then | ||
# exit 0 | ||
# fi | ||
TYPE="$(cat type)" | ||
if [ $TYPE == "DEV" ]; then | ||
exit 0 | ||
fi | ||
|
||
minify --recursive --verbose --match=\.*.js$ --type=js --output decompressed/ decompressed/ | ||
minify --recursive --verbose --match=\.*.js$ --type=js --output js_files/ js_files/ | ||
|
||
minify --recursive --verbose --match=\.*.css$ --type=css --output decompressed/ decompressed/ | ||
minify --recursive --verbose --match=\.*.css$ --type=css --output css_files/ css_files/ | ||
|
||
echo "Finished" |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#! /bin/sh | ||
|
||
for type in css js lua lp map po; do | ||
cp -a data/"$type"_files/* . | ||
echo Applying files in "$type"_files | ||
done |
Empty file.
Empty file.
Oops, something went wrong.