mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-16 22:10:25 +00:00
use jquery min for deploy build
This commit is contained in:
parent
45b71e1a88
commit
beaf693c23
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
|
@ -179,7 +179,7 @@ deploy: init css js docs zip
|
|||
@@find tmp/${VER_OFFICIAL} -type f \
|
||||
\( -name '*.html' -o -name '*.php' \) \
|
||||
-exec perl -pi -e \
|
||||
's|src="(.*)${NAME}.min.js"|src="//code.jquery.com/mobile/${VER_OFFICIAL}/${NAME}.min.js"|g;s|href="(.*)${NAME}.min.css"|href="//code.jquery.com/mobile/${VER_OFFICIAL}/${NAME}.min.css"|g;s|src="(.*)jquery.js"|src="//code.jquery.com/jquery-1.6.4.js"|g' {} \;
|
||||
's|src="(.*)${NAME}.min.js"|src="//code.jquery.com/mobile/${VER_OFFICIAL}/${NAME}.min.js"|g;s|href="(.*)${NAME}.min.css"|href="//code.jquery.com/mobile/${VER_OFFICIAL}/${NAME}.min.css"|g;s|src="(.*)jquery.js"|src="//code.jquery.com/jquery-1.6.4.min.js"|g' {} \;
|
||||
# ... So they can be copied to jquerymobile.com
|
||||
@@scp -qr tmp/* jqadmin@jquerymobile.com:/srv/jquerymobile.com/htdocs/demos/
|
||||
# Do some cleanup to wrap it up
|
||||
|
|
|
|||
Loading…
Reference in a new issue