Skip to content
Snippets Groups Projects
Commit 37053702 authored by David Trattnig's avatar David Trattnig
Browse files

chore(make): add `dist` and `clean` targets

parent d41a4a02
No related branches found
No related tags found
No related merge requests found
/node_modules/
/public/build/
/dist
.DS_Store
sync.sh
......@@ -7,7 +7,9 @@ help::
@echo " init.dev - init development environment"
@echo " lint - verify code style"
@echo " spell - check spelling of text"
@echo " clean - clean artifacts"
@echo " build - build a production bundle"
@echo " dist - create a dist package"
@echo " run - start app in development mode"
@echo " start - start app with sirv server (public)"
$(call docker_help)
......@@ -39,9 +41,24 @@ lint::
spell::
npm run spell
clean::
rm -rf dist
mkdir -p dist/assets
build::
npm run build
dist::clean
dist::build
dist::
cp public/service-worker.js dist
cp public/manifest.json dist
cp public/build/smui-dark.css dist
cp public/build/smui.css dist
cp public/build/aura-player-bundle.* dist
cp public/assets/*.svg dist/assets
rm dist/assets/aura_fav.svg
run::
npm run dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment