Skip to content

Commit

Permalink
Merge pull request #71 from Jarzka/feature/upgrade-libraries
Browse files Browse the repository at this point in the history
Upgrade libraries
  • Loading branch information
Jarzka authored Mar 3, 2024
2 parents be1e773 + 9d6abbe commit 7c1036d
Show file tree
Hide file tree
Showing 19 changed files with 2,080 additions and 794 deletions.
39 changes: 33 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,43 @@ version: 2
jobs:
build:
docker:
- image: circleci/clojure:lein-2.8.1-browsers
environment:
JVM_OPTS: -Xmx3200m
- image: circleci/openjdk:11-node-browsers
steps:
- checkout

- restore_cache:
key: stylefy-{{ checksum "project.clj" }}
- run: lein deps

# Core module

- run:
name: npm install
command: npm install
- run: npx shadow-cljs compile test

# Reagent module

- run:
name: npm install (Reagent module)
command: npm install
working_directory: examples/reagent
- run:
name: Compile Reagent module
command: npx shadow-cljs compile frontend
working_directory: examples/reagent

# Rum module

- run:
name: npm install (Rum module)
command: npm install
working_directory: examples/rum
- run:
name: Compile Rum module
command: npx shadow-cljs compile frontend
working_directory: examples/rum

- save_cache:
paths:
- ~/.m2
key: stylefy-{{ checksum "project.clj" }}
- run: lein test
key: stylefy-{{ checksum "project.clj" }}
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,7 @@ doo-index.html
/out
.lein-repl-history
.lein-failures
.lsp
.lsp
.clj-kondo
.shadow-cljs
node_modules
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ This project is aimed to remain backwards compatible. This means that **changes
# Run tests

```bash
lein test
shadow-cljs compile test
```

# Compile examples project
Expand Down
Loading

0 comments on commit 7c1036d

Please sign in to comment.