Skip to content

Commit

Permalink
Concatenate util.js before emonk_app.js and emonk_mapred.js
Browse files Browse the repository at this point in the history
Change-Id: Ia8dbca7b5bd45a2bb5d3a025ae7537ee82c7167c
Reviewed-on: http://review.couchbase.org/9344
Reviewed-by: Chris Anderson <jchris@couchbase.com>
Reviewed-by: Jens Alfke <jens@couchbase.com>
Tested-by: Aaron Miller <apage43@ninjawhale.com>
  • Loading branch information
apage43 committed Sep 21, 2011
1 parent 30d10f8 commit 0e96abd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Framework/Couchbase.xcodeproj/project.pbxproj
Expand Up @@ -308,7 +308,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Copies the canned 'erlang' directory into CouchbaseResources, and compiles CouchDB and other libraries into that destination directory.\nScripts/build_erlang_packages.sh";
shellScript = "# Copies the canned 'erlang' directory into CouchbaseResources, and compiles CouchDB and other libraries into that destination directory.\nScripts/build_erlang_packages.sh\nScripts/concat_js_files.sh";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
Expand Down
7 changes: 7 additions & 0 deletions Framework/Scripts/concat_js_files.sh
@@ -0,0 +1,7 @@
#!/bin/bash
ERLANG_DSTDIR="${CONFIGURATION_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/CouchbaseResources/erlang"

cd ../../vendor/couchdb/share/server

cat util.js emonk_app.js > $ERLANG_DSTDIR/emonk_app.js
cat util.js emonk_mapred.js > $ERLANG_DSTDIR/emonk_mapred.js

0 comments on commit 0e96abd

Please sign in to comment.