Skip to content

Commit

Permalink
Test cljs with whitespace optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
brandoncorrea committed May 16, 2024
1 parent a30fb4c commit 1f2f03a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Set ENV
run: echo "BWA_ENV=ci" >> $GITHUB_ENV

- name: Set up JDK 21
uses: actions/setup-java@v4
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ pom.xml
.lein-failures
.lein-plugins
.lein-repl-history
.env
15 changes: 5 additions & 10 deletions dev/config/cljs.edn
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
:ns-prefix "bwa.mimic"
:env-keys ["BWA_ENV"]
:ignore-errors ["goog/i18n/bidi.js"]
:development {:cache-analysis true
:optimizations :none
Expand All @@ -22,28 +23,22 @@
:output-dir "target/cljs/"
:output-to "target/cljs/bwa_mimic.js"
:pretty-print false
;:pretty-print true
;:pseudo-names true
:sources [
;"src/cljc" ; Remove until needed
"src/cljs"
]
:specs false
:verbose false
}
:staging {
:ci {
:cache-analysis false
:infer-externs true
:optimizations :whitespace
:output-dir "target/cljs/"
:output-to "target/cljs/bwa_mimic.js"
:pretty-print true
:pseudo-names true
:sources [
;"src/cljc" ; Remove until needed
"src/cljs"
]
:specs false
:pretty-print false
:sources ["spec/cljc" "spec/cljs" "src/cljs"]
:specs true
:verbose false
}
}

0 comments on commit 1f2f03a

Please sign in to comment.