mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-31 21:20:23 +00:00
Add deploy functionality to the build script.
This commit is contained in:
parent
908c86a117
commit
47a45f5cbb
1 changed files with 10 additions and 4 deletions
14
Makefile
14
Makefile
|
|
@ -72,8 +72,14 @@ min: mobile
|
|||
@@rm -f ${MIN}.tmp
|
||||
|
||||
zip: clean min cssmin
|
||||
@@mkdir -p ${DIR}/theme
|
||||
@@cp ${DIR}*.js ${DIR}
|
||||
@@cp ${DIR}*.css ${DIR}
|
||||
@@cp -R themes/default/images ${DIR}
|
||||
@@mkdir -p ${DIR}
|
||||
@@cp ${DIR}*.js ${DIR}/
|
||||
@@cp ${DIR}*.css ${DIR}/
|
||||
@@cp -R themes/default/images ${DIR}/
|
||||
@@zip -r ${DIR}.zip ${DIR}
|
||||
|
||||
# Used by the jQuery team to deploy a build to the CDN
|
||||
deploy: zip
|
||||
@@mv ${DIR} $1
|
||||
@@cp ${DIR}.zip $1/
|
||||
@@scp -r $1 jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/
|
||||
|
|
|
|||
Loading…
Reference in a new issue