Skip to content

Instantly share code, notes, and snippets.

@CarstenKoenig
Created May 27, 2018 11:31
Show Gist options
  • Save CarstenKoenig/66d33dc7e5646977059d1be3f215afc6 to your computer and use it in GitHub Desktop.
Save CarstenKoenig/66d33dc7e5646977059d1be3f215afc6 to your computer and use it in GitHub Desktop.
Run Purescript 0.12 parallel to 0.17
#!/bin/bash
cp ~/.local/bin/purescript/v0.12/purs ~/.local/bin/purs
pulp $@
rm ~/.local/bin/purs
# - still got purs 0.11.7 from npm
# - have current purescript/purs compiled/installed with stack
# - move the version somewhere (I opted into the path above)
# - have .local/bin before your npm installed bins in your PATH
# - have the script above in ~/.local/bin as well and make it executable
# - now I can just do `pulp12 ...` do use builds for *purs 0.12*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment