A steganography tool for text - This is a mirror
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add release step to Makefile

+9 -3
+1
.gitignore
··· 1 1 /doc/ 2 2 /lib/ 3 3 /bin/ 4 + /dist/ 4 5 /.shards/ 5 6 /test_files/
+8 -3
Makefile
··· 1 1 CRYSTAL_BIN ?= $(shell which crystal) 2 2 SHARDS_BIN ?= $(shell which shards) 3 - FINCHER_BIN ?= $(shell which fincher) 3 + FINCHER_BIN ?= $(shell which fincher) 4 4 PREFIX ?= /usr/local 5 + SOURCES = src/*.cr src/**/*.cr 5 6 6 7 all: build 7 - build: deps 8 + build: deps $(SOURCES) 8 9 mkdir -p bin 9 10 $(CRYSTAL_BIN) build --debug -o bin/fincher src/cli.cr $(CRFLAGS) 11 + release: deps $(SOURCES) 12 + mkdir -p dist 13 + $(CRYSTAL_BIN) build --release -o dist/fincher src/cli.cr $(CRFLAGS) 10 14 deps: 11 15 $(SHARDS_BIN) check || $(SHARDS_BIN) install 12 16 clean: 13 - rm -f ./bin/fincher 17 + rm -f ./bin/fincher* 18 + rm -rf ./dist 14 19 test: build 15 20 $(CRYSTAL_BIN) spec 16 21 spec: test