Skip to content

Commit

Permalink
enhance(dev): add cljs:dev-release-electron
Browse files Browse the repository at this point in the history
I like to have a dev version of logseq on my system alongside a regular build. I have been building it so far using the full command:
```sh
$ clojure -M:cljs release app --config-merge "{:closure-defines {frontend.config/DEV-RELEASE true}}"
```
Since `cljs:dev-release-app` already exist; It would be nice to add `cljs:dev-release-electron` as well
```sh
$ yarn cljs:dev-release-electron
```I like to have a dev version of logseq on my system alongside a regular build. I have been building it so far using the full command:
```sh
$ clojure -M:cljs release app electron --debug --config-merge "{:closure-defines {frontend.config/DEV-RELEASE true}}" && clojure -M:cljs release publishing

```
Since `cljs:dev-release-app` already exist; It would be nice to add `cljs:dev-release-electron` as well
```sh
$ yarn cljs:dev-release-electron
```
  • Loading branch information
Bad3r authored and tiensonqin committed Dec 16, 2022
1 parent 8ce551f commit f902ed9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"cljs:test": "clojure -M:test compile test",
"cljs:run-test": "node static/tests.js",
"cljs:dev-release-app": "clojure -M:cljs release app --config-merge \"{:closure-defines {frontend.config/DEV-RELEASE true}}\"",
"cljs:dev-release-electron": "clojure -M:cljs release app electron --debug --config-merge \"{:closure-defines {frontend.config/DEV-RELEASE true}}\" && clojure -M:cljs release publishing",
"cljs:debug": "clojure -M:cljs release app --debug",
"cljs:report": "clojure -M:cljs run shadow.cljs.build-report app report.html",
"cljs:build-electron": "clojure -A:cljs compile app electron",
Expand Down

0 comments on commit f902ed9

Please sign in to comment.