diff --git a/HTML/editor.html b/HTML/editor.html index 327c4bf69..a596351d4 100644 --- a/HTML/editor.html +++ b/HTML/editor.html @@ -22,11 +22,13 @@ - - - - - + + + + + + + diff --git a/HTML/atomicity.coffee b/HTML/lib/atomicity.coffee similarity index 100% rename from HTML/atomicity.coffee rename to HTML/lib/atomicity.coffee diff --git a/HTML/document.coffee b/HTML/lib/document.coffee similarity index 100% rename from HTML/document.coffee rename to HTML/lib/document.coffee diff --git a/HTML/osx.coffee b/HTML/lib/osx.coffee similarity index 100% rename from HTML/osx.coffee rename to HTML/lib/osx.coffee diff --git a/HTML/coffee-script.js b/HTML/vendor/coffee-script.js similarity index 100% rename from HTML/coffee-script.js rename to HTML/vendor/coffee-script.js diff --git a/HTML/jquery.js b/HTML/vendor/jquery.js similarity index 100% rename from HTML/jquery.js rename to HTML/vendor/jquery.js diff --git a/HTML/underscore.js b/HTML/vendor/underscore.js similarity index 100% rename from HTML/underscore.js rename to HTML/vendor/underscore.js diff --git a/script/compile.sh b/script/compile.sh index 222163379..5bc38ed56 100755 --- a/script/compile.sh +++ b/script/compile.sh @@ -1,10 +1,10 @@ #!/bin/sh -SOURCE_SCRIPTS_DIR="$PROJECT_DIR/HTML" +SOURCE_SCRIPTS_DIR="$PROJECT_DIR/html" DESTINATION_SCRIPTS_DIR="$BUILT_PRODUCTS_DIR/$CONTENTS_FOLDER_PATH/Resources/" PATH="$PATH:/usr/local/bin/" hash coffee 2>&- || { echo >&2 "error: Coffee is required but it's not installed (http://jashkenas.github.com/coffee-script/)."; exit 1; } -coffee -o "$DESTINATION_SCRIPTS_DIR/HTML/" HTML/*.coffee +coffee -o "$DESTINATION_SCRIPTS_DIR/HTML/lib/" HTML/lib/*.coffee cp -r "$SOURCE_SCRIPTS_DIR" "$DESTINATION_SCRIPTS_DIR"