X-Git-Url: https://git.njae.me.uk/?a=blobdiff_plain;f=README.md;h=cb6a338accb7d815a0b17804a3dbe5b27b43e5a1;hb=222b52201f17be7217e7fab4a98b23109cbf4910;hp=78f784902e697cbf693ffb83b1427f29474601c0;hpb=4297a8f2b47637d7815e3ad49fd88ef734662680;p=advent-of-code-16.git diff --git a/README.md b/README.md index 78f7849..cb6a338 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,8 @@ $ 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 @@ -38,7 +40,7 @@ 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 ```