From 7dca96983dc00b6f18cbbadc5f6e5e99c9f0f278 Mon Sep 17 00:00:00 2001 From: heyarne Date: Sat, 14 Dec 2019 11:12:17 +0100 Subject: [PATCH] Move build-report into task and update README.md --- README.md | 4 +- build-report.html | 846 ---------------------------------------------- package.json | 1 + 3 files changed, 4 insertions(+), 847 deletions(-) delete mode 100644 build-report.html diff --git a/README.md b/README.md index 7c879fd..034dfb4 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,11 @@ $ npm install $ npm run dev ``` +All other build tasks are defined in the `package.json` (more below). + ### Editor integration -Integrating shadow-cljs with your editor helps tremendously with development. After having run `npm run dev` as described above you can connect to the REPL and get features like in-editor code execution and code completion / documentation lookup. For further information see [this part of the shadow-cljs user guide](https://shadow-cljs.github.io/docs/UsersGuide.html#_editor_integration), which contains instructions for Emacs, Atom, VSCode and other editors. Make sure to open `localhost:8080` in the browser to execute ClojureScript code. +Integrating shadow-cljs with your editor helps tremendously with development. After having run `npm run dev` as described above you can connect to the REPL and get features like in-editor code execution and code completion / documentation lookup. For further information see [this part of the shadow-cljs user guide](https://shadow-cljs.github.io/docs/UsersGuide.html#_editor_integration). Recommended editors and plugins are Calva for VSCode and CIDER for Emacs (comes with Spacemacs). Make sure to open `localhost:8080` in the browser after starting the `dev:cljs` task to execute ClojureScript code in a live REPL. ### re-frame-10x diff --git a/build-report.html b/build-report.html deleted file mode 100644 index a428496..0000000 --- a/build-report.html +++ /dev/null @@ -1,846 +0,0 @@ - -[app] Build Report - shadow-cljs
\ No newline at end of file diff --git a/package.json b/package.json index 99bad67..fb2d9ee 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "index.js", "scripts": { "build:cljs": "shadow-cljs release app", + "build:cljs-report": "shadow-cljs run shadow.cljs.build-report app public/build-report.html", "build:sass": "node-sass --output-style compressed src/sass/app.sass | postcss -o public/app/app.css", "build": "mkdir -p public; rm -r public/*; run-p copy:* build:*", "copy:assets": "cp -R src/assets/* public/",