Permalink
Browse files

Push out a unminified version of Uniform to GH Pages

This makes debugging in a fiddle or other example far easier.  The CDN takes
the load that raw.github.com would otherwise experience.
  • Loading branch information...
1 parent e956452 commit 3616adf6bd1405ba5c3c10bb602eeb795ba1db48 @fidian fidian committed Mar 24, 2013
Showing with 6 additions and 1 deletion.
  1. +1 −0 .gitignore
  2. +5 −1 Makefile
View
1 .gitignore
@@ -18,6 +18,7 @@ www/downloads/uniform.*.theme.zip
www/images/bg-input*.png
www/images/sprite*.png
www/index.html
+www/javascripts/jquery.uniform.js
www/javascripts/jquery.uniform.min.js
www/javascripts/themecss.js
www/stylesheets/uniform.*.css
View
6 Makefile
@@ -2,6 +2,7 @@ JS_MIN = jquery.uniform.min.js
THEME_CSS = $(patsubst %.scss, %.css, $(wildcard themes/*/css/*.scss))
THEME_CSS_MIN = $(patsubst %.css, %.min.css, $(THEME_CSS))
WWW_TARGETS = www/index.html www/stylesheets/multiple-themes.css
+WWW_TARGETS += www/javascripts/jquery.uniform.js
WWW_TARGETS += www/javascripts/jquery.uniform.min.js
ZIP_THEME_TARGETS = www/downloads/uniform.agent.theme.zip
ZIP_THEME_TARGETS += www/downloads/uniform.aristo.theme.zip
@@ -19,7 +20,7 @@ WWW_TARGETS += www/downloads/theme-kit.zip
all: jquery.uniform.min.js $(JS_MIN) $(THEME_CSS) $(THEME_CSS_MIN) $(WWW_TARGETS)
-www: www/javascripts/jquery.uniform.min.js $(WWW_TARGETS)
+www: www/javascripts/jquery.uniform.js www/javascripts/jquery.uniform.min.js $(WWW_TARGETS)
clean:
rm -f jquery.uniform.min.js $(WWW_TARGETS) $(THEME_CSS) $(THEME_CSS_MIN)
@@ -65,6 +66,9 @@ www/index.html: $(wildcard www-fragments/index-*) README.md
node_modules/.bin/marked --gfm -i README.md >> $@
cat www-fragments/index-stop.html >> $@
+www/javascripts/jquery.uniform.js: jquery.uniform.js
+ cp jquery.uniform.js www/javascripts
+
www/javascripts/jquery.uniform.min.js: jquery.uniform.min.js
cp jquery.uniform.min.js www/javascripts

0 comments on commit 3616adf

Please sign in to comment.