Skip to content

Commit

Permalink
opam: add pin-depends
Browse files Browse the repository at this point in the history
  • Loading branch information
andreypopp committed Aug 28, 2024
1 parent ad67391 commit 882a69f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ jobs:
# doesn't handle it
- run: sudo apt-get install -qq -yy libev-dev libssl-dev pkg-config
# clean build
- run: opam pin add melange-json.dev https://github.com/melange-community/melange-json.git --yes
- run: opam pin add melange-json-native.dev https://github.com/melange-community/melange-json.git --yes
- run: opam install . --deps-only
- run: opam exec -- dune build -p ppx_deriving_router
# build with dream (should make ppx_deriving_router.dream available)
Expand Down
4 changes: 4 additions & 0 deletions ppx_deriving_router.opam
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ build: [
]
]
dev-repo: "git+https://github.com/andreypopp/ppx_deriving_router.git"
pin-depends: [
["melange-json.dev" "git+https://github.com/melange-community/melange-json"]
["melange-json-native.dev" "git+https://github.com/melange-community/melange-json"]
]
4 changes: 4 additions & 0 deletions ppx_deriving_router.opam.template
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
pin-depends: [
["melange-json.dev" "git+https://github.com/melange-community/melange-json"]
["melange-json-native.dev" "git+https://github.com/melange-community/melange-json"]
]

0 comments on commit 882a69f

Please sign in to comment.