Skip to content

Instantly share code, notes, and snippets.

@gdotdesign
Created July 11, 2016 03:43
Show Gist options
  • Save gdotdesign/e53fac955f98201212c8f18837e12bcc to your computer and use it in GitHub Desktop.
Save gdotdesign/e53fac955f98201212c8f18837e12bcc to your computer and use it in GitHub Desktop.
Windows script to reproduce an elm-make bug
:loop
@echo off
rm -rf elm-make-bug
git clone [email protected]:gdotdesign/elm-make-bug.git > /dev/null 2>&1
cd elm-make-bug
elm-make Test.elm --yes > /dev/null 2>&1
perl -pi -e 's/A/B/g' Lib.elm
elm-make Test.elm --yes > /dev/null 2>&1
perl -pi -e 's/Lib.A/Lib.B/g' Bar.elm
elm-make Test.elm > /dev/null 2>&1
echo %errorlevel%
cd ..
goto loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment