You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2009/04/19 00:18:52 UTC

svn commit: r766399 - /couchdb/trunk/share/server/mainjs.sh

Author: jan
Date: Sat Apr 18 22:18:52 2009
New Revision: 766399

URL: http://svn.apache.org/viewvc?rev=766399&view=rev
Log:
add generation-notice

Modified:
    couchdb/trunk/share/server/mainjs.sh

Modified: couchdb/trunk/share/server/mainjs.sh
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/server/mainjs.sh?rev=766399&r1=766398&r2=766399&view=diff
==============================================================================
--- couchdb/trunk/share/server/mainjs.sh (original)
+++ couchdb/trunk/share/server/mainjs.sh Sat Apr 18 22:18:52 2009
@@ -12,7 +12,12 @@
 # License for the specific language governing permissions and limitations under
 # the License.
 
+TARGET="main.js"
+
 cd server
+echo "// Generated from *.js by makejs.sh on `date`" > $TARGET
+echo "// DO NOT EDIT BY HAND\n" >> $TARGET
+
 cat \
   render.js \
   state.js \
@@ -20,5 +25,5 @@
   validate.js \
   views.js \
   loop.js \
-  > main.js
+  >> $TARGET
 cd ..
\ No newline at end of file