Permalink
Browse files

Added Windows version of Handlebars compile script

  • Loading branch information...
1 parent 9d4c656 commit 8ac14f44a4d0a4e030e3000ea967b89e81a037f7 @oliversalzburg oliversalzburg committed Feb 6, 2013
Showing with 14 additions and 0 deletions.
  1. +14 −0 compile.cmd
View
@@ -0,0 +1,14 @@
+@ECHO OFF
+SETLOCAL
+REM Compile the handlebars templates.
+SET handlebars=
+FOR /R %%i IN (stylebot\js\templates\*.handlebars) DO CALL :concat %%i
+handlebars %handlebars% -f %~dp0stylebot\js\templates.js
+GOTO :eof
+
+:concat
+SET handlebars=%handlebars%%1
+GOTO :eof
+
+:eof
+ENDLOCAL

0 comments on commit 8ac14f4

Please sign in to comment.