Create Makefile to create release and distribute with minio

This commit is contained in:
Matthias Loibl
2016-12-07 01:54:22 +01:00
parent 251856cf3f
commit 84c250ea12
4 changed files with 46 additions and 4 deletions

31
Makefile Normal file
View File

@@ -0,0 +1,31 @@
STYLES := static/styles
DIST := dist
.PHONY: all
all: build
.PHONY: clean
clean:
rm -rf $(STYLES) $(DIST)
.PHONY: install
install:
npm install -q
npm install -q -g gulp-cli
.PHONY: build
build:
gulp
.PHONY: release
release:
mkdir -p dist/
cp -r archetypes/ dist/
cp -r i18n/ dist/
cp -r layouts/ dist/
cp -r static/ dist/
cp -r DCO dist/
cp -r LICENSE dist/
cp -r MAINTAINERS dist/
cp -r README.md dist/
cp -r theme.toml dist/