Permalink
Browse files

automate construction of core download package (fix #220)

  • Loading branch information...
1 parent ec92599 commit 2ac6edffb5e028356dded4f583206096012a0a9a @AlexCuse AlexCuse committed Dec 5, 2012
Showing with 23 additions and 0 deletions.
  1. 0 licenses/{dotless_license.txt → dotless-license.txt}
  2. +23 −0 tools/build-package.bat
File renamed without changes.
@@ -0,0 +1,23 @@
+@echo off
+REM need to have MSBuild and 7zip in your path
+if %1.==. goto noversion
+msbuild ../SquishIt.sln /p:Configuration=Release
+set packageFolder=SquishIt-%1
+mkdir %packageFolder%
+
+echo %packageFile%
+xcopy /S ..\SquishIt.Framework\bin\Release %packageFolder%
+xcopy /S ..\licenses %packageFolder%
+del %packageFolder%\dotless-license.txt %packageFolder%\jurassic-license.txt
+
+cd %packageFolder%
+7z a ..\%packageFolder%.zip
+cd ..
+
+rmdir /S/Q %packageFolder%
+
+goto end
+
+:noversion
+ echo No version passed
+:end

0 comments on commit 2ac6edf

Please sign in to comment.