mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-02-09 06:19:35 +01:00
Add spec.cr and clean up Makefile
This commit is contained in:
parent
89b682aed6
commit
60c9340720
44
Makefile
44
Makefile
@ -1,41 +1,3 @@
|
|||||||
SOURCES = bin/maid bin/serv bin/pass bin/theme
|
.PHONY: spec
|
||||||
BIN = bin/
|
spec:
|
||||||
|
@crystal spec spec.cr --verbose
|
||||||
.PHONY: all
|
|
||||||
all: $(SOURCES)
|
|
||||||
|
|
||||||
.PHONY: release
|
|
||||||
production: FLAGS = --release
|
|
||||||
production: $(SOURCES)
|
|
||||||
|
|
||||||
.PHONY: update
|
|
||||||
update:
|
|
||||||
shards update
|
|
||||||
|
|
||||||
.PHONY: install
|
|
||||||
install:
|
|
||||||
shards install
|
|
||||||
|
|
||||||
bin/maid: src/maid.cr
|
|
||||||
@mkdir -p ${BIN}
|
|
||||||
crystal build $< -o $@ $(FLAGS)
|
|
||||||
|
|
||||||
bin/pass: src/pass.cr
|
|
||||||
@mkdir -p ${BIN}
|
|
||||||
crystal build $< -o $@ $(FLAGS)
|
|
||||||
|
|
||||||
bin/theme: src/theme.cr src/theme_helper/*.cr
|
|
||||||
@mkdir -p ${BIN}
|
|
||||||
crystal build $< -o $@ $(FLAGS)
|
|
||||||
|
|
||||||
bin/trufetch: src/trufetch.cr
|
|
||||||
@mkdir -p ${BIN}
|
|
||||||
crystal build $< -o $@ $(FLAGS)
|
|
||||||
|
|
||||||
bin/git-blame: src/git-blame.cr
|
|
||||||
@mkdir -p ${BIN}
|
|
||||||
crystal build $< -o $@ ${FLAGS}
|
|
||||||
|
|
||||||
bin/plain-text: src/plain-text.cr
|
|
||||||
@mkdir -p ${BIN}
|
|
||||||
crystal build $< -o $@ ${FLAGS}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user