makefile cleanup, taking a break now

This commit is contained in:
Taylor 2025-01-16 13:21:48 -06:00
parent cef2dc79a7
commit d02727184a
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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.