File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
packages/fswatch/fswatch.11-0.1.3 Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ opam-version: "2.0"
2+ 3+ authors: [ "ZAN DoYe" ]
4+ homepage: "https://github.com/kandu/ocaml-fswatch/"
5+ bug-reports: "https://github.com/kandu/ocaml-fswatch/issues"
6+ license: "MIT"
7+ dev-repo: "git+https://github.com/kandu/ocaml-fswatch"
8+ build: [
9+ ["sh" "-exec" "echo \\(-I/usr/local/include/libfswatch/c -I/usr/include/libfswatch/c\\) > fswatch/src/inc_cflags"] { !(os-distribution = "homebrew" & arch = "arm64") }
10+ ["sh" "-exec" "echo -lfswatch > fswatch/src/inc_libs"] { !(os-distribution = "homebrew" & arch = "arm64") }
11+
12+ ["sh" "-exec" "echo -I$(brew --prefix)/include/libfswatch/c > fswatch/src/inc_cflags"] { os-distribution = "homebrew" & arch = "arm64" }
13+ ["sh" "-exec" "echo \\(-L$(brew --prefix)/lib -lfswatch\\) > fswatch/src/inc_libs"] { os-distribution = "homebrew" & arch = "arm64" }
14+
15+ ["dune" "build" "-p" name "-j" jobs]
16+ ]
17+ depends: [
18+ "ocaml" {>= "4.03.0"}
19+ "conf-fswatch"
20+ "dune" {>= "1.4"}
21+ ]
22+
23+ synopsis: "Bindings for libfswatch -- file change monitor"
24+ description: """fswatch is a file change monitor that receives notifications when the contents of the specified files or directories are modified."""
25+
26+ url {
27+ src: "https://github.com/kandu/ocaml-fswatch/archive/11-0.1.3.tar.gz"
28+ checksum: "md5=10ff6b35632fde8057e93552d35e831a"
29+ }
You can’t perform that action at this time.
0 commit comments