mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Use shards build command
This commit is contained in:
parent
956f2e4f49
commit
b225b17b5b
2 changed files with 6 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -1,9 +1,10 @@
|
|||
CRYSTAL_BIN ?= $(shell which crystal)
|
||||
SHARDS_BIN ?= $(shell which shards)
|
||||
PREFIX ?= /usr/local
|
||||
SHARD_BIN ?= ../../bin
|
||||
|
||||
build:
|
||||
$(CRYSTAL_BIN) build --no-debug -o bin/ameba src/cli.cr $(CRFLAGS)
|
||||
$(SHARDS_BIN) build --no-debug $(CRFLAGS)
|
||||
clean:
|
||||
rm -f ./bin/ameba
|
||||
install: build
|
||||
|
|
|
@ -6,6 +6,10 @@ license: MIT
|
|||
authors:
|
||||
- Vitalii Elenhaupt <velenhaupt@gmail.com>
|
||||
|
||||
targets:
|
||||
ameba:
|
||||
main: src/cli.cr
|
||||
|
||||
scripts:
|
||||
postinstall: make bin
|
||||
|
||||
|
|
Loading…
Reference in a new issue