mirror of
https://github.com/hanzo-apps/ui.git
synced 2026-10-30 20:04:45 +00:00
26 lines
338 B
Makefile
26 lines
338 B
Makefile
.PHONY: build
|
|
.PHONY: docs
|
|
|
|
BASEDIR = $(realpath .)
|
|
|
|
NPM ?= npm
|
|
BUNDLE ?= bundle
|
|
|
|
build:
|
|
rollup --config build/rollup.config.js
|
|
|
|
build-watch:
|
|
rollup --watch --config build/rollup.config.js
|
|
|
|
install:
|
|
$(NPM) install $(BASEDIR)
|
|
$(BUNDLE) install
|
|
|
|
docs:
|
|
cd docs && $(BUNDLE) install && make docs
|
|
|
|
clean:
|
|
clear
|
|
|
|
run:
|
|
make build
|