code-preloader/Makefile

24 lines
261 B
Makefile
Raw Normal View History

2023-12-29 13:13:20 +00:00
2024-01-03 13:06:13 +00:00
PREFIX=/usr
2023-12-29 13:13:20 +00:00
all: build
2024-01-03 13:06:13 +00:00
prepare:
shards install
2023-12-29 13:13:20 +00:00
build:
2023-12-29 13:57:11 +00:00
shards build --error-trace
2024-01-02 11:32:27 +00:00
spec: test
test:
crystal spec --error-trace
2024-01-03 13:06:13 +00:00
install:
install \
-m 755 \
-o root \
bin/code-preloader \
$(PREFIX)/bin
.PHONY: spec test build all prepare install