Skip to content

Instantly share code, notes, and snippets.

@zah
Created April 30, 2013 10:53
Show Gist options
  • Select an option

  • Save zah/5487992 to your computer and use it in GitHub Desktop.

Select an option

Save zah/5487992 to your computer and use it in GitHub Desktop.
not breaking you nimrod compiler with nimboot
nimd-build () {
local PREVDIR=`pwd`
cd ~/Projects/nim
nimrod c -d:debug $* compiler/nimrod.nim && cp compiler/nimrod ./bin/nimd
cd $PREVDIR
}
nimd-boot () {
local PREVDIR=`pwd`
cd ~/Projects/nim
nimd c -d:debug $* compiler/nimrod.nim && cp compiler/nimrod ./bin/nimd
cd $PREVDIR
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment