projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b78cd
)
push-to-web.sh
author
Dan Vanderkam
<danvdk@gmail.com>
Mon, 19 Apr 2010 22:42:31 +0000
(15:42 -0700)
committer
Dan Vanderkam
<danvdk@gmail.com>
Mon, 19 Apr 2010 22:42:31 +0000
(15:42 -0700)
push-to-web.sh
[new file with mode: 0755]
patch
|
blob
diff --git a/push-to-web.sh
b/push-to-web.sh
new file mode 100755
(executable)
index 0000000..
ba9d969
--- /dev/null
+++ b/
push-to-web.sh
@@ -0,0
+1,15
@@
+#!/bin/bash
+# This script generates the combined JS file, pushes all content to a web site
+# and then reverts the combined file.
+site=$1
+
+# Produce dygraph-combined.js.
+./generate-combined.sh
+
+# Copy everything to the site.
+scp tests/*.html tests/*.js $site/tests/ \
+&& \
+scp dygraph*.js gadget.xml excanvas.js thumbnail.png docs/* $site/
+
+# Revert changes to dygraph-combined.js
+git co dygraph-combined.js