evanmiller/ChicagoBoss — pull request #96 by rambocoder (2012-04-05 03:39:53+00:00)
Title: Windows support improvements

With these changes, it's possible to build, run CB and it's app from the command line in Windows. As long as Erlang bin folder is in the path. No need for cygwin, msys, etc.

Updated rebar to the latest. Including rebar.cmd in the root of CB and in skel.

Updated rebar.conf to compile the dtl file on rebar compile. Under windows, erl -eval "erlydtl:compile("src/boss/boss ... blows up.

New apps can be started with updated start-server.bat. You can double click it and werl.exe pops up.

I created windows-make.bat that takes most of the parameters that make takes.

windows-make app project=rahm <-- that works
windows-make all
windows-make test
windows-make clean

I had Yaws support in my repo but rebar compile with Yaws as a dep blows up in my Windows, so I took Yaws support out of the code.