Skip to content

Commit

Permalink
makefile for lateset
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiemonge committed Apr 13, 2011
1 parent 55d82f4 commit ca55d18
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ OUTPUT = compiled

# The output folder for the nightly files.
NIGHTLY_OUTPUT = nightlies/${DATE}
ifeq (${NIGHTLY_OUTPUT}, latest)
RMLATEST = ssh [email protected] 'rm -rf /var/www/html/code.jquery.com/mobile/latest'
else
RMLATEST = ''
endif
NIGHTLY_WEBPATH = http://code.jquery.com/mobile/${NIGHTLY_OUTPUT}

# The filenames
Expand Down Expand Up @@ -160,7 +165,7 @@ nightly: pull zip
# Copy the images as well
@@cp -R themes/default/images ${OUTPUT}

# Move the output folder to the nightlies folder
@@${RMLATEST}
@@scp -r ${OUTPUT} [email protected]:/var/www/html/code.jquery.com/mobile/${NIGHTLY_OUTPUT}
@@rm -rf ${OUTPUT}

Expand Down

0 comments on commit ca55d18

Please sign in to comment.