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)
|
CRYSTAL_BIN ?= $(shell which crystal)
|
||||||
|
SHARDS_BIN ?= $(shell which shards)
|
||||||
PREFIX ?= /usr/local
|
PREFIX ?= /usr/local
|
||||||
SHARD_BIN ?= ../../bin
|
SHARD_BIN ?= ../../bin
|
||||||
|
|
||||||
build:
|
build:
|
||||||
$(CRYSTAL_BIN) build --no-debug -o bin/ameba src/cli.cr $(CRFLAGS)
|
$(SHARDS_BIN) build --no-debug $(CRFLAGS)
|
||||||
clean:
|
clean:
|
||||||
rm -f ./bin/ameba
|
rm -f ./bin/ameba
|
||||||
install: build
|
install: build
|
||||||
|
|
|
@ -6,6 +6,10 @@ license: MIT
|
||||||
authors:
|
authors:
|
||||||
- Vitalii Elenhaupt <velenhaupt@gmail.com>
|
- Vitalii Elenhaupt <velenhaupt@gmail.com>
|
||||||
|
|
||||||
|
targets:
|
||||||
|
ameba:
|
||||||
|
main: src/cli.cr
|
||||||
|
|
||||||
scripts:
|
scripts:
|
||||||
postinstall: make bin
|
postinstall: make bin
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue