Commit
Author: Kevin Schoon [kevinschoon@gmail.com]
Hash: 8eb4f3d9f2ce420039b3d04d2ceccac43a363b09
Timestamp: Sun, 23 Aug 2020 18:09:42 +0000 (4 years ago)

+39 -0 +/-2 browse
generate opam file with dune
1diff --git a/dune-project b/dune-project
2index 02db24a..d8ea3a8 100644
3--- a/dune-project
4+++ b/dune-project
5 @@ -1,6 +1,13 @@
6 (lang dune 2.7)
7
8 (name note)
9+ (version 0.0.2)
10+
11+ (generate_opam_files true)
12+
13+ (source (github kevinschoon/note))
14+ (license AGPL3)
15+ (authors "Kevin Schoon <kevinschoon@gmail.com>")
16
17 (package
18 (name note)
19 diff --git a/note.opam b/note.opam
20new file mode 100644
21index 0000000..ab28665
22--- /dev/null
23+++ b/note.opam
24 @@ -0,0 +1,32 @@
25+ # This file is generated by dune, edit dune-project instead
26+ opam-version: "2.0"
27+ version: "0.0.2"
28+ synopsis: "Note is a simple CLI based note taking program"
29+ authors: ["Kevin Schoon <kevinschoon@gmail.com>"]
30+ license: "AGPL3"
31+ homepage: "https://github.com/kevinschoon/note"
32+ bug-reports: "https://github.com/kevinschoon/note/issues"
33+ depends: [
34+ "base" {>= "v0.14.0"}
35+ "core" {>= "v0.14.0"}
36+ "dune" {>= "2.7" & >= "2.7"}
37+ "ezjsonm" {>= "1.2.0"}
38+ "stdio" {>= "v0.14.0"}
39+ "yaml" {>= "2.1.0"}
40+ "odoc" {with-doc}
41+ ]
42+ build: [
43+ ["dune" "subst"] {dev}
44+ [
45+ "dune"
46+ "build"
47+ "-p"
48+ name
49+ "-j"
50+ jobs
51+ "@install"
52+ "@runtest" {with-test}
53+ "@doc" {with-doc}
54+ ]
55+ ]
56+ dev-repo: "git+https://github.com/kevinschoon/note.git"