diff --git a/Makefile b/Makefile index 0dea7bb..bd281ee 100644 --- a/Makefile +++ b/Makefile @@ -7,20 +7,20 @@ help: # Show help for each of the commented Makefile recipes. run: target/Main.out # Runs your compiled main code. ./target/Main.out -target/Main.out: src/* +target/Main.out: src/* app/* ghc -g -fprof-auto -prof -Wall app/*.hs src/*.hs -o target/Main.out @rm -f src/*.o src/*.hi -test: test/*.hs # Runs unit tests. +test: # Runs unit tests. runghc -i./src/ test/Main.hs -format: src/* # Formats code using ormolu. +format: # Formats code using ormolu. ormolu --mode inplace app/*.hs src/*.hs test/*.hs -hlint: src/*.hs # HLint for lint suggestions. +hlint: # HLint for lint suggestions. hlint src/*.hs -stan: src/*.hs # Stan for more optimization suggestions. +stan: # Stan for more optimization suggestions. ghc -fwrite-ide-info app/*.hs src/*.hs -o target/temp.out stan --hiedir src/ rm -f target/temp.out src/*.hi src/*.o src/*.hie app/*.o app/*.hi app/*.hie diff --git a/README.md b/README.md index d51000a..8e90e25 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ A PushGP implementation in Haskell ## Tasks -* [ ] refactor Gene to contain *Gene to Gene* for naming consistency. * [x] Do test-driven development on this one. * [x] Write tests for every function. * [x] tests/ are just copied from make-grade, need to write for this project.