glowers-radio/Makefile

12 lines
309 B
Makefile

all: | build
prod: | build validate
build:
node lib/build.js
validate:
ajv -s data/schema.yaml -d data/songs.json --strict=false
links:
lib/sh/getlatest.sh $(i)
dbg:
node -e 'console.debug(require("util").inspect(require("./data/songs.js"), { colors: true, depth: Infinity, maxArrayLength: Infinity }))'