on master help sign in
simplify mac/make-installer.sh a bit
62f6b79Evan Czaplicki
installers/mac/make-installer.sh+3−4
@@ -23,8 +23,7 @@ usr_binaries=/usr/local/bin
23
23
24#### BUILD ASSETS ####
24#### BUILD ASSETS ####
25
25
26−(cd ../.. ; cabal sandbox init ; cabal install)
27−cp ../../.cabal-sandbox/bin/elm $pkg_binaries/elm
26+cp ../../dist/build/elm/elm $pkg_binaries/elm
28
27
29cp $(pwd)/preinstall $pkg_scripts
28cp $(pwd)/preinstall $pkg_scripts
30cp $(pwd)/postinstall $pkg_scripts
29cp $(pwd)/postinstall $pkg_scripts
@@ -40,13 +39,13 @@ pkgbuild \
40
39
41#### BUNDLE ASSETS ####
40#### BUNDLE ASSETS ####
42
41
43−rm -f Elm-Platform.pkg
42+rm -f Elm.pkg
44
43
45productbuild \
44productbuild \
46 --distribution Distribution.xml \
45 --distribution Distribution.xml \
47 --package-path . \
46 --package-path . \
48 --resources Resources \
47 --resources Resources \
49− Elm-Platform.pkg
48+ Elm.pkg
50
49
51
50
52#### CLEAN UP ####
51#### CLEAN UP ####