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