Author: lindner
Date: Fri Jun 17 05:43:43 2011
New Revision: 1136772
URL: http://svn.apache.org/viewvc?rev=1136772&view=rev
Log:
simple script to sync up html5-boilerplate resources
Added:
shindig/site/trunk/sync-html5-boilerplate.sh
Added: shindig/site/trunk/sync-html5-boilerplate.sh
URL:
http://svn.apache.org/viewvc/shindig/site/trunk/sync-html5-boilerplate.sh?rev=1136772&view=auto
==============================================================================
--- shindig/site/trunk/sync-html5-boilerplate.sh (added)
+++ shindig/site/trunk/sync-html5-boilerplate.sh Fri Jun 17 05:43:43 2011
@@ -0,0 +1,31 @@
+#!/bin/sh
+#
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Script that syncs up with html5-boilerplate
+
+test -d html5-boilerplate || git clone
https://github.com/paulirish/html5-boilerplate.git
+(cd html5-boilerplate; git pull --rebase)
+SRC=html5-boilerplate
+DEST=src/site/resources
+cp $SRC/css/style.css $DEST/css/style.css
+cp -r $SRC/js/* $DEST/js/
+
+git add $DEST/css/style.css $DEST/js
+
+