Skip to content

Instantly share code, notes, and snippets.

@gdotdesign
Created July 11, 2016 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gdotdesign/b0c21b2cae66518f34d417cde7613576 to your computer and use it in GitHub Desktop.
Save gdotdesign/b0c21b2cae66518f34d417cde7613576 to your computer and use it in GitHub Desktop.
Script for testing an elm-make bug
#!/bin/bash
while true; do
rm -rf elm-make-bug
git clone git@github.com: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 $?
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment