From 0c2e1982d5327fd312f23d6a6479af193af94157 Mon Sep 17 00:00:00 2001 From: Philip Kahn Date: Fri, 15 Aug 2014 14:22:43 -0700 Subject: [PATCH] Create Windows deployment script --- Cakefile | 2 +- deploy.bat | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 deploy.bat diff --git a/Cakefile b/Cakefile index e18a5c4..417c480 100644 --- a/Cakefile +++ b/Cakefile @@ -32,7 +32,7 @@ task 'watch', 'watch and compile changes in source dir', -> task 'build', 'join and compile *.coffee files', -> # Does bare compilation! - exec "coffee -bj #{outJS}.js -c #{strFiles}", exerr + exec "coffee -bj #{outJS}.js -c #{config.srcDir}/", exerr task 'min', 'minify compiled *.js file', -> exec "java -jar #{config.yuic} #{outJS}.js -o #{outJS}.min.js", exerr diff --git a/deploy.bat b/deploy.bat new file mode 100644 index 0000000..6561759 --- /dev/null +++ b/deploy.bat @@ -0,0 +1,7 @@ +@echo off +echo Compiling coffeescript ... +call cake bam +call update_dependencies.bat +cd .. +call rm arctosdb.org.zip +7za a -ssw -y -mx9 -tzip arctosdb.org.zip arctosdb.org -mmt \ No newline at end of file