Skip to content

Commit

Permalink
Merge pull request #2 from riKiMasan/melange21
Browse files Browse the repository at this point in the history
Melange21
  • Loading branch information
rikimasan authored Dec 5, 2023
2 parents 989d22b + 316c04b commit ec64cb8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
ocaml-compiler: ${{ matrix.ocaml-compiler }}

- name: Install all deps
run: make install
run: make install-ci

- name: Build the project
run: make build
Expand Down
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ install: ## Install development dependencies
opam install -y . --deps-only --with-test ## install the Melange and OCaml dependencies
opam exec opam-check-npm-deps ## check that the versions of the JavaScript packages installed match the requirements defined by Melange libraries

.PHONY: install-ci
install-ci: ## Install development dependencies
yarn install ## install JavaScript packages that the project might depend on, like `react` or `react-dom`
opam update ## make sure that opam has the latest information about published libraries in the opam repository https://opam.ocaml.org/packages/
opam install -y . --deps-only --with-test ## install the Melange and OCaml dependencies
opam exec opam-check-npm-deps ## check that the versions of the JavaScript packages installed match the requirements defined by Melange libraries

.PHONY: build
build: ## Build the project
$(DUNE) build @main
Expand Down
1 change: 1 addition & 0 deletions src/dune
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(library
(name bsDecode)
(public_name bs-decode)
(wrapped false)
(libraries bastet relude)
(modes melange)
Expand Down

0 comments on commit ec64cb8

Please sign in to comment.