Skip to content

Commit 4a1f4f8

Browse files
committed
Add quiet option to scp
1 parent ecf0b97 commit 4a1f4f8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Makefile

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ zip: init css js
169169
# Push the latest git version to the CDN. This is done on a post commit hook
170170
latest: init js css zip
171171
# Time to put these on the CDN
172-
@@scp -r ${OUTPUT}/* jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/latest/
172+
@@scp -qr ${OUTPUT}/* jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/latest/
173173
# Do some cleanup to wrap it up
174174
@@rm -rf ${OUTPUT}
175175
# -------------------------------------------------
@@ -179,7 +179,7 @@ nightlies: init js css zip docs
179179
# Time to put these on the CDN
180180
@@mkdir -p tmp/nightlies
181181
@@mv ${OUTPUT} tmp/nightlies/$$(date "+%Y%m%d")
182-
@@scp -r tmp/nightlies/* jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/nightlies/
182+
@@scp -qr tmp/nightlies/* jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/nightlies/
183183
# Do some cleanup to wrap it up
184184
@@rm -rf tmp
185185
# -------------------------------------------------
@@ -190,17 +190,17 @@ deploy: init js css docs zip
190190
# Deploying all the files to the CDN
191191
@@mkdir tmp
192192
@@cp -r ${OUTPUT} tmp/${VER_OFFICIAL}
193-
@@scp -r tmp/* jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/
193+
@@scp -qr tmp/* jqadmin@code.origin.jquery.com:/var/www/html/code.jquery.com/mobile/
194194
@@rm -rf tmp/${VER_OFFICIAL}
195-
# Create the Demos/Docs/Tests/Tools for jQueryMobile.com
196195
@@mv ${OUTPUT}/demos tmp/${VER_OFFICIAL}
196+
# Create the Demos/Docs/Tests/Tools for jQueryMobile.com
197197
# ... By first replacing the paths
198198
@@find tmp/${VER_OFFICIAL} -type f \
199199
\( -name '*.html' -o -name '*.php' \) \
200200
-exec perl -pi -e \
201-
'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' {} \;
201+
'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' {} \;
202202
# ... So they can be copied to jquerymobile.com
203-
@@scp -r tmp/* jqadmin@jquerymobile.com:/srv/jquerymobile.com/htdocs/demos/
203+
@@scp -qr tmp/* jqadmin@jquerymobile.com:/srv/jquerymobile.com/htdocs/demos/
204204
# Do some cleanup to wrap it up
205205
@@rm -rf tmp
206206
@@rm -rf ${OUTPUT}

0 commit comments

Comments
 (0)