feat: added info function
This commit is contained in:
parent
3d39132646
commit
7efa42f1e5
5 changed files with 80 additions and 46 deletions
28
Makefile
Normal file
28
Makefile
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# =====CONFIG=====
|
||||
V_PATH ?= v
|
||||
V := $(V_PATH) -showcc
|
||||
|
||||
all: aur
|
||||
|
||||
|
||||
# =====COMPILATION=====
|
||||
.PHONY: aur
|
||||
aur:
|
||||
$(V) -g -shared .
|
||||
|
||||
|
||||
# =====DOCS=====
|
||||
.PHONY: api-docs
|
||||
api-docs:
|
||||
rm -rf '_docs'
|
||||
v doc -f html -m -readme .
|
||||
|
||||
|
||||
# =====OTHER=====
|
||||
.PHONY: lint
|
||||
lint:
|
||||
$(V) fmt -verify .
|
||||
|
||||
.PHONY: fmt
|
||||
fmt:
|
||||
$(V) fmt -w .
|
||||
Reference in a new issue