mirror of
https://github.com/status-im/sticker-packs-publisher.git
synced 2025-02-22 10:28:10 +00:00
23 lines
447 B
Makefile
23 lines
447 B
Makefile
.PHONY: build, dev
|
|
|
|
init: clean install
|
|
echo "Ready"
|
|
|
|
install:
|
|
yarn
|
|
|
|
build:
|
|
yarn run build
|
|
|
|
dev:
|
|
# requires export NODE_OPTIONS=--max_old_space_size=4096
|
|
yarn run dev
|
|
|
|
deploy-website: install compile
|
|
$(eval VERSION = $(shell git rev-parse --short HEAD))
|
|
$(eval MESSAGE = 'Deploying \#$(VERSION)')
|
|
./node_modules/gh-pages/bin/gh-pages.js --dotfiles --message ${MESSAGE} --dist resources/public
|
|
|
|
clean:
|
|
rm -rf node_modules/ dist/ yarn.lock
|