X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.html;h=b78056214e61df38daee4f4a02e20a3a7b02ddbb;hb=HEAD;hp=2525fa50d86671ac892720ea9f4f48216ebae751;hpb=fbf84930783a435e67f823085f646be0ab8ffd6d;p=advent-of-code-16.git diff --git a/README.html b/README.html index 2525fa5..b780562 100644 --- a/README.html +++ b/README.html @@ -19,6 +19,7 @@
$ sudo aptitude install haskell-platform haskell-stack
).
I have one package for each day, to save time waiting for Stack to check every executable before compiling what's changed. Each package needs a separate directory tree and a separate .cabal
file.
To work on a project, cd
into that project's directory.
Compile with
stack build
or
@@ -28,7 +29,7 @@Run interactively with
stack ghci adventofcode1601:exe:advent01
To profile, use
-stack build --executable-profiling --library-profiling -ghc-options="-fprof-auto -rtsopts" adventofcode1601
+stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" adventofcode1601
then run with
stack exec -- advent01 +RTS -p -hy