Permalink
Browse files

split up latest build and deploy

  • Loading branch information...
1 parent 746c24e commit 0b858d2571aebcbac81b371c8ceb39a2e5c5ca40 @johnbender johnbender committed Jan 30, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 Makefile
View
@@ -146,13 +146,17 @@ zip: init css js
# For jQuery Team Use Only
#
# -------------------------------------------------
+build_latest: init css docs js zip
-# Push the latest git version to the CDN. This is done on a post commit hook
-latest: init css docs js zip
+deploy_latest:
# Time to put these on the CDN
@@scp -qr ${OUTPUT}/* jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/latest/
# -------------------------------------------------
+# Push the latest git version to the CDN. This is done on a post commit hook
+# TODO target name preserved to avoid issues during refactor, latest -> deploy_latest
+latest: build_latest deploy_latest
+
# Build the nightly backups. This is done on a server cronjob
nightlies: init css js docs zip
# Time to put these on the CDN

0 comments on commit 0b858d2

Please sign in to comment.