declarative-promise
Version:
Behaves kinda like the es6 Promise api, but it doesn't actually *do* anything. It just produces a description of what is to be done, by someone else. At the moment, it's designed to work with the [redux-fetch](https://github.com/ashaffer/redux-fetch) mi
24 lines (17 loc) • 280 B
Plain Text
#
# Vars
#
BIN = ./node_modules/.bin
.DEFAULT_GOAL := all
#
# Tasks
#
node_modules: package.json
@npm install
@touch node_modules
test: node_modules
@${BIN}/babel-tape-runner test/index.js
validate: node_modules
@${BIN}/standard
all: validate test
.PHONY: test validate