Tue, 11 Sep 2018 23:25:51 +0100
main: Modify run_test_script() to take the actual script data
This allows scripts to come from places other than files.
include config.unix ifndef SQUISH $(error Please run ./configure first) endif SOURCE_FILES=$(shell $(SQUISH) --list-files) MISSING_FILES=$(shell $(SQUISH) --list-missing-files) SQUISH_PARAMS=--with-verse OUTPUT=build/scansion BIN_DIR=$(PREFIX)/bin all: $(OUTPUT) $(OUTPUT): build squishy $(SOURCE_FILES) $(SQUISH) $(SQUISH_PARAMS) --output=$(OUTPUT) build: mkdir build install: $(OUTPUT) install -t $(BIN_DIR) -m 655 $^ clean: rm $(OUTPUT) test: busted .PHONY: all clean install