Skip to content

Commit

Permalink
Refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboris committed May 20, 2024
1 parent 32e1594 commit ed3e158
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions camlkit-gui.opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ bug-reports: "https://github.com/dboris/camlkit/issues"
depends: [
"dune" {>= "3.13"}
"camlkit-base" {= version}
"alcotest" {with-test}
"odoc" {with-doc}
]
build: [
Expand Down
1 change: 1 addition & 0 deletions camlkit.opam
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ depends: [
"dune" {>= "3.13"}
"camlkit-base" {= version}
"camlkit-gui" {= version}
"alcotest" {with-test}
"odoc" {with-doc}
]
build: [
Expand Down
7 changes: 5 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ the following Cocoa frameworks: Foundation, WebKit, Vision, CoreImage, and Photo
(name camlkit-gui)
(synopsis "OCaml bindings to the AppKit framework")
(description "OCaml bindings to the AppKit framework")
(depends (camlkit-base (= :version)))
(depends
(camlkit-base (= :version))
(alcotest :with-test))
(tags (objc bindings cocoa macos gnustep)))

(package
Expand All @@ -37,5 +39,6 @@ the following Cocoa frameworks: Foundation, WebKit, Vision, CoreImage, and Photo
(description "Higher-level wrappers for Cocoa APIs")
(depends
(camlkit-base (= :version))
(camlkit-gui (= :version)))
(camlkit-gui (= :version))
(alcotest :with-test))
(tags (objc cocoa macos gnustep)))
2 changes: 1 addition & 1 deletion runtime/dune
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
(copy platform.catalyst platform.ml))))

(rule
(enabled_if (= %{system} linux))
(enabled_if (<> %{system} macosx))
(targets flags.txt platform.ml)
(deps flags.gnustep platform.gnustep)
(action (progn
Expand Down

0 comments on commit ed3e158

Please sign in to comment.