-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
29 lines (22 loc) · 870 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
.PHONY: webpack build develop test demo app ext reuse generate install uninstall proto help
all: build
help:
# targets:
#
# webpack - pack current nogui sources with webpack
# generate - re-generate demo code from Markdown comments
# build - pack nogui and build demos
# develop - start nodemon and build continuously
# test - run all tests
# demo - start basic nogui demo
# app - start a complex nogui demo app
# reuse - add SPDX License headers to main source files
# install - install locally
# uninstall - uninstall local installation
#
# see `make.sh` for details
demo app reuse test: build
demo app reuse webpack generate build develop test install uninstall: ; ./make.sh $@
proto: spec/spec_pb.js
%_pb.js: %.proto
protoc --proto_path=spec --js_out=import_style=commonjs,binary:$(dir $@) $^