on master help sign in
Have the windows installer just go grab the executable
064fc07Evan Czaplicki
installers/win/make_installer.cmd+1−11
@@ -1,20 +1,10 @@
1
1
2set version=%1
2set version=%1
3
3
4−git clone https://github.com/elm-lang/elm-compiler.git
5−cd elm-compiler
6−git checkout %version%
7−cabal sandbox init
8−cabal update
9−cabal configure
10−cabal build
11−
12−if %errorlevel% neq 0 exit /b %errorlevel%
13−
14mkdir files
4mkdir files
15mkdir files\bin
5mkdir files\bin
16
6
17−xcopy dist/build/elm/elm.exe files\bin /s /e
7+xcopy ../../dist/build/elm/elm.exe files\bin /s /e
18xcopy updatepath.vbs files
8xcopy updatepath.vbs files
19
9
20if EXIST "%ProgramFiles%" (
10if EXIST "%ProgramFiles%" (