Skip to content

Commit

Permalink
minify.sh : no trailing semicolon needed anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed Apr 19, 2012
1 parent dc81078 commit 7c624fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions minify.sh
Expand Up @@ -12,7 +12,5 @@ OUT=jquery.masonry.min.js
awk '!/^\/\*[jshint|global]/' $IN \ awk '!/^\/\*[jshint|global]/' $IN \
| uglifyjs \ | uglifyjs \
| awk '{ORS=""; gsub(/\*\//,"*/\n"); if (NR!=1) print "\n"; print;}' > $OUT | awk '{ORS=""; gsub(/\*\//,"*/\n"); if (NR!=1) print "\n"; print;}' > $OUT
# add trailing semicolon
echo ';' >> $OUT
echo "Minified" $IN "as" $OUT echo "Minified" $IN "as" $OUT


0 comments on commit 7c624fe

Please sign in to comment.