We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f8e2db commit e3ba8d4Copy full SHA for e3ba8d4
Makefile
@@ -185,6 +185,17 @@ themes-download:
185
@@echo "Building ${DIST_DIR}/jquery-ui-themes-${VERSION}.zip"
186
@@cd ${DIST_DIR} ; zip -r jquery-ui-themes-${VERSION}.zip jquery-ui-themes-${VERSION}
187
188
+# strips BOM / trailling whitespaces
189
+whitespace:
190
+ @@echo "Stripping BOM / Trailing Whitespace from source files"
191
+ @@for file in $$(find ui -name \*.js;find themes -name \*.css) ; \
192
+ do perl -pe 's/^\xEF\xBB\xBF//s;s/\s+$$/\n/g' < $$file > $$file.tmp ; \
193
+ rm $$file ; \
194
+ mv $$file.tmp $$file ; \
195
+ done
196
+ @@echo "Done, showing git status"
197
+ git status
198
+
199
zip:
200
@@echo "Zipping release"
201
@@rm ${DIST_DIR}/${RELEASE}.zip || true
0 commit comments