couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r766399 - /couchdb/trunk/share/server/mainjs.sh
Date Sat, 18 Apr 2009 22:18:52 GMT
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



Mime
View raw message