Skip to content

Instantly share code, notes, and snippets.

@kgadek
Last active December 15, 2016 13:45
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 kgadek/ad9c46bc114fbfefb4e62fa040a20c3d to your computer and use it in GitHub Desktop.
Save kgadek/ad9c46bc114fbfefb4e62fa040a20c3d to your computer and use it in GitHub Desktop.
# Przygotowanie
xcode-select --install # akceptacja licencji Xcode
curl -sSL https://get.haskellstack.org/ | sh # alternatywnie: brew install haskell-stack
git clone https://github.com/kgadek/novelist.git
cd novelist
stack setup # instalacja kompilatora lokalnie, w ~/.stack
stack build --bench --no-run-benchmarks # kompilacja programu
# Uruchamianie testów
stack bench
## czyszczenie systemu
rm /usr/local/bin/stack # alternatywnie: brew uninstall haskell-stack
rm -rf ~/.stack
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment