Skip to content

Commit

Permalink
update opam files + set up tests (#3)
Browse files Browse the repository at this point in the history
* feat: port to Melange v2

* update opam files + set up tests

* fix tests

* fix tests (promotion still not working)

* fix some pkgs / deps issues

* update ci to 5.1

---------

Co-authored-by: Antonio Nuno Monteiro <[email protected]>
  • Loading branch information
jchavarri and anmonteiro authored Oct 10, 2023
1 parent 1fa57a6 commit a504c08
Show file tree
Hide file tree
Showing 15 changed files with 3,895 additions and 74 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
# disabling this for now

ocaml-compiler:
- 4.14.x
- 5.1.x

runs-on: ${{ matrix.os }}

Expand Down
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ help: ## Print this help message

.PHONY: create-switch
create-switch: ## Create opam switch
opam switch create . 4.14.1 -y --deps-only
opam switch create . 5.1.0 -y --deps-only

.PHONY: init
init: create-switch install ## Configure everything to develop this repository in local

.PHONY: install
install: ## Install development dependencies
yarn
opam update
opam install -y . --deps-only
# opam pin -y add $(project_name).dev . --working-dir
opam install -y . --deps-only --with-test
opam exec opam-check-npm-deps

.PHONY: build
build: ## Build the project
Expand Down
Loading

0 comments on commit a504c08

Please sign in to comment.