tgbotlib/Makefile

23 lines
437 B
Makefile
Raw Normal View History

# Variables
CONFIG ?= release
LOG_LEVEL = debug
OUTDIR = build/$(CONFIG)
PACKAGE = $(OUTDIR)/net.nosial.tgbotlib.ncc
# Default Target
all: build
# Build Steps
2023-03-01 19:14:35 -05:00
build:
ncc build --config=$(CONFIG) --log-level $(LOG_LEVEL)
2023-02-12 13:41:43 -05:00
install: build
ncc package install --package=$(PACKAGE) --skip-dependencies --build-source --reinstall -y --log-level $(LOG_LEVEL)
test: build
phpunit
2023-02-12 13:41:43 -05:00
2023-03-01 19:14:35 -05:00
clean:
rm -rf build
.PHONY: all build install test clean