tgbotlib/Makefile

23 lines
No EOL
437 B
Makefile

# Variables
CONFIG ?= release
LOG_LEVEL = debug
OUTDIR = build/$(CONFIG)
PACKAGE = $(OUTDIR)/net.nosial.tgbotlib.ncc
# Default Target
all: build
# Build Steps
build:
ncc build --config=$(CONFIG) --log-level $(LOG_LEVEL)
install: build
ncc package install --package=$(PACKAGE) --skip-dependencies --build-source --reinstall -y --log-level $(LOG_LEVEL)
test: build
phpunit
clean:
rm -rf build
.PHONY: all build install test clean