summaryrefslogtreecommitdiff
path: root/share/server
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2009-04-18 22:18:52 +0000
committerJan Lehnardt <jan@apache.org>2009-04-18 22:18:52 +0000
commita017b624fb640e8ce198f67b071a606c9f643ae4 (patch)
tree144ce1f25f0d3c9608875c37cd658ea4fb60e1b8 /share/server
parent141a5c853df996905b90d0fa95b9c0a08839c385 (diff)
add generation-notice
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@766399 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/server')
-rwxr-xr-xshare/server/mainjs.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/share/server/mainjs.sh b/share/server/mainjs.sh
index d8c1798d..63c08fe1 100755
--- a/share/server/mainjs.sh
+++ b/share/server/mainjs.sh
@@ -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 @@ cat \
validate.js \
views.js \
loop.js \
- > main.js
+ >> $TARGET
cd .. \ No newline at end of file