all: build build: data/songs.json prod: build validate # TODO: Move to dist/ lib_js = $(shell find lib -name '*.js' -type f) data/songs.json: data/songs.js $(lib_js) 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 }))'