Skip to content
This repository has been archived by the owner on Feb 21, 2020. It is now read-only.

Commit

Permalink
Create Windows deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerhawkvok committed Aug 15, 2014
1 parent 808e98b commit 0c2e198
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions deploy.bat
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 0c2e198

Please sign in to comment.