diff options
| author | Joel Martin <github@martintribe.org> | 2014-03-24 16:32:24 -0500 |
|---|---|---|
| committer | Joel Martin <github@martintribe.org> | 2014-03-24 16:32:24 -0500 |
| commit | 3169070063b2cb877200117ebb384269d73bcb93 (patch) | |
| tree | 23de3db1ea5c37afd21a45b6ed7771f56a08c0c4 /bash/Makefile | |
| download | mal-3169070063b2cb877200117ebb384269d73bcb93.tar.gz mal-3169070063b2cb877200117ebb384269d73bcb93.zip | |
Current state of mal for Clojure West lighting talk.
Diffstat (limited to 'bash/Makefile')
| -rw-r--r-- | bash/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bash/Makefile b/bash/Makefile new file mode 100644 index 0000000..53f0d09 --- /dev/null +++ b/bash/Makefile @@ -0,0 +1,25 @@ +TESTS = tests/types.sh tests/reader.sh + +SOURCES = types.sh reader.sh stepA_more.sh + +all: mal.sh + +mal.sh: $(SOURCES) + cat $+ > $@ + echo "#!/bin/bash" > $@ + cat $+ | grep -v "^source " >> $@ + chmod +x $@ + +clean: + rm -f mal.sh + +.PHONY: stats tests $(TESTS) + +stats: $(SOURCES) + @wc $^ + +tests: $(TESTS) + +$(TESTS): + @echo "Running $@"; \ + bash $@ || exit 1; \ |
