makefile cleanup, taking a break now
This commit is contained in:
parent
cef2dc79a7
commit
d02727184a
10
Makefile
10
Makefile
@ -7,20 +7,20 @@ help: # Show help for each of the commented Makefile recipes.
|
|||||||
run: target/Main.out # Runs your compiled main code.
|
run: target/Main.out # Runs your compiled main code.
|
||||||
./target/Main.out
|
./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
|
ghc -g -fprof-auto -prof -Wall app/*.hs src/*.hs -o target/Main.out
|
||||||
@rm -f src/*.o src/*.hi
|
@rm -f src/*.o src/*.hi
|
||||||
|
|
||||||
test: test/*.hs # Runs unit tests.
|
test: # Runs unit tests.
|
||||||
runghc -i./src/ test/Main.hs
|
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
|
ormolu --mode inplace app/*.hs src/*.hs test/*.hs
|
||||||
|
|
||||||
hlint: src/*.hs # HLint for lint suggestions.
|
hlint: # HLint for lint suggestions.
|
||||||
hlint src/*.hs
|
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
|
ghc -fwrite-ide-info app/*.hs src/*.hs -o target/temp.out
|
||||||
stan --hiedir src/
|
stan --hiedir src/
|
||||||
rm -f target/temp.out src/*.hi src/*.o src/*.hie app/*.o app/*.hi app/*.hie
|
rm -f target/temp.out src/*.hi src/*.o src/*.hie app/*.o app/*.hi app/*.hie
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
A PushGP implementation in Haskell
|
A PushGP implementation in Haskell
|
||||||
|
|
||||||
## Tasks
|
## Tasks
|
||||||
* [ ] refactor Gene to contain *Gene to Gene* for naming consistency.
|
|
||||||
* [x] Do test-driven development on this one.
|
* [x] Do test-driven development on this one.
|
||||||
* [x] Write tests for every function.
|
* [x] Write tests for every function.
|
||||||
* [x] tests/ are just copied from make-grade, need to write for this project.
|
* [x] tests/ are just copied from make-grade, need to write for this project.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user