mirror of
https://gitea.invidious.io/iv-org/shard-ameba.git
synced 2024-08-15 00:53:29 +00:00
Ameba cli & binary (#7)
* Ameba cli & binary * -1 when ameba found issues * Add postscript to shard.yml * Correct postinstall * Remove targets * Try executables
This commit is contained in:
parent
0ca990dd5c
commit
6ca4e38167
7 changed files with 41 additions and 3 deletions
10
Makefile
Normal file
10
Makefile
Normal file
|
@ -0,0 +1,10 @@
|
|||
CRYSTAL_BIN ?= $(shell which crystal)
|
||||
PREFIX ?= /usr/local
|
||||
|
||||
build:
|
||||
$(CRYSTAL_BIN) build --release --no-debug -o bin/ameba src/cli.cr $(CRFLAGS)
|
||||
clean:
|
||||
rm -f ./bin/ameba
|
||||
install: build
|
||||
mkdir -p $(PREFIX)/bin
|
||||
cp ./bin/ameba $(PREFIX)/bin
|
Loading…
Add table
Add a link
Reference in a new issue