anki/tslib/Makefile
evandrocoan 14a86273c4 Deprecated SHELLCMD, moved the pyaudio installation instructions to
its repository updating the instruction on README.development
2020-02-25 21:08:05 -03:00

27 lines
426 B
Makefile

SHELL := /bin/bash
.SHELLFLAGS := -eu -o pipefail -c
.DELETE_ON_ERROR:
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
.SUFFIXES:
$(shell mkdir -p .build dist)
all: build
.build/deps: package.json
npm i
@touch $@
build: .build/deps dist/backend_pb.js
npm run build
dist/backend_pb.js: .build/deps ../proto/backend.proto
npm run proto
.PHONY: check
check:
npm run lint
npm run check-pretty