Skip to content

Instantly share code, notes, and snippets.

@choonkeat
Created April 20, 2021 02:38
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 choonkeat/9f51b4c78376d3066b6718008a7455fa to your computer and use it in GitHub Desktop.
Save choonkeat/9f51b4c78376d3066b6718008a7455fa to your computer and use it in GitHub Desktop.
fix for atom-elmjutsu: configure elm and elm-test executable path to these 2 scripts instead
#!/bin/sh
if $(which elm) $*
then
echo '{"type":"compile-errors","errors":[]}' >&2
else
touch $0
fi
#!/bin/sh
$(which elm-test) $(echo $* | sed 's% --output=/dev/null%%g')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment