draft
Version:
Construct Object schemas and models
47 lines (37 loc) • 1.11 kB
Plain Text
BUILD = ./build/build.js
DIST_DIR = ./dist
DIST_FILE = $(DIST_DIR)/draft.js
DIST_HEADER = ./dist.wrapper.header.js
DIST_FOOTER = ./dist.wrapper.footer.js
OUTPUT_FILE = ./draft.js
all: clean install test build
build: install
components: component.json
clean:
install:
test:
# we need to use a local mocha
dist: build
# if the distribution directory exists then remove it
# create a fresh distribution directory
# ensure distribution copy exists
# append header to distribution file
# append build to distribution file
# append footer to distribution file
# copy contents of distribution file to
# the public output file
.PHONY: all clean install test components build dist