code-preloader/Makefile

24 lines
261 B
Makefile
Raw Normal View History

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