Skip to content

Commit

Permalink
Update contributing and ppx
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmurphy committed Apr 26, 2024
1 parent 2ddcedc commit 093a4f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ppx-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,14 @@ jobs:
with:
ocaml-version: 4.12.1 # replace with your desired version
- name: Install Dune
run: opam install dune
- name: Install Dependencies
run: |
opam install dune
eval $(opam env)
- name: Install OCaml Dependencies
run: |
cd ppx_src
opam install -y . --deps-only
- name: Install Yarn Dependencies
run: yarn
- name: Build PPX
run: yarn build-ppx
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ You would need to have [opam](https://opam.ocaml.org) installed.
- cd ppx_src;
- opam switch create . 4.12.1 --deps-only # If it's the first time you create a switch it can take a while.
- eval $(opam env)
- opam install -y ocaml-lsp-server dune ocaml ppx_tools_versioned # Install ppx's dependencies inside the switch
- opam install -y . --deps-only
- Profit, this should make your editor a little more smart

### Testing
Expand Down

0 comments on commit 093a4f9

Please sign in to comment.