forked from jquery-archive/jquery-mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f487bb
commit a65ac5f
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,8 +19,8 @@ DIR = jquery.mobile-${VER} | |
OUTPUT = compiled | ||
|
||
# The output folder for the nightly files. | ||
NIGHTLY_OUTPUT = /srv/jquerymobile.com/htdocs/nightlies/${DATE} | ||
NIGHTLY_WEBPATH = http://jquerymobile.com/nightlies/${DATE} | ||
NIGHTLY_OUTPUT = nightlies/${DATE} | ||
NIGHTLY_WEBPATH = http://code.jquery.com/mobile/${NIGHTLY_OUTPUT} | ||
|
||
# The filenames | ||
JS = ${DIR}.js | ||
|
@@ -160,11 +160,9 @@ nightly: pull zip | |
# Copy the images as well | ||
@@cp -R themes/default/images ${OUTPUT} | ||
|
||
# Remove the output folder so its not placed in there. | ||
@@rm -rf ${NIGHTLY_OUTPUT} | ||
|
||
# Move the output folder to the nightlies folder | ||
@@mv ${OUTPUT} ${NIGHTLY_OUTPUT} | ||
@@scp -r ${OUTPUT} [email protected]:/var/www/html/code.jquery.com/mobile/${NIGHTLY_OUTPUT} | ||
@@rm -rf ${OUTPUT} | ||
|
||
|
||
# Used by the jQuery team to deploy a build to the CDN | ||
|