mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-07 08:57:28 +08:00
Made Makefile marginally less sucky
This commit is contained in:
9
Makefile
9
Makefile
@@ -1,15 +1,16 @@
|
||||
all: shpell .tests
|
||||
true
|
||||
: Done
|
||||
|
||||
shpell: regardless
|
||||
ghc --make shpell #GHC handles the dependencies
|
||||
: Conditionally compiling shpell
|
||||
ghc --make shpell
|
||||
|
||||
.tests: *.hs */*.hs
|
||||
: Running unit tests
|
||||
./test/runQuack && touch .tests
|
||||
|
||||
clean:
|
||||
rm -f .tests shpell *.hi *.o Shpell/*.hi Shpell/*.o
|
||||
|
||||
regardless:
|
||||
:
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user