Skip to content

Commit

Permalink
Migrate opam file to opam 2 format
Browse files Browse the repository at this point in the history
  • Loading branch information
talex5 committed Dec 31, 2019
1 parent 7685ae4 commit 51e1287
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN opam pin add -n irmin.0.10.1 https://github.com/talex5/irmin.git#cuekeeper
RUN opam pin add -n irmin-indexeddb.0.6 https://github.com/talex5/irmin-indexeddb.git#v0.6
RUN opam pin add -n git.1.7.1 https://github.com/talex5/ocaml-git.git#cuekeeper
RUN mkdir /home/opam/cuekeeper
COPY --chown=opam opam /home/opam/cuekeeper/opam
COPY --chown=opam cuekeeper.opam /home/opam/cuekeeper/
WORKDIR /home/opam/cuekeeper
RUN opam install --solver=aspcud -y -t --deps-only .
ENTRYPOINT ["opam", "config", "exec", "--"]
28 changes: 16 additions & 12 deletions opam → cuekeeper.opam
Original file line number Diff line number Diff line change
@@ -1,20 +1,13 @@
opam-version: "1.2"
opam-version: "2.0"
name: "cuekeeper"
version: "dev"
synopsis: "Web-based GTD system with Git-based history"
maintainer: "Thomas Leonard <[email protected]>"
authors: "Thomas Leonard <[email protected]>"
license: "GNU LESSER GENERAL PUBLIC LICENSE, v2.1"
homepage: "https://github.com/talex5/cuekeeper"
bug-reports: "https://github.com/talex5/cuekeeper/issues"
license: "GNU LESSER GENERAL PUBLIC LICENSE, v2.1"
dev-repo: "https://github.com/talex5/cuekeeper.git"
build: [
[make "client"]
]
build-test: [
[make "test"]
[make "slow_test"]
]
depends: [
"ocaml"
"base64"
"sexplib" {>= "v0.13.0"}
"uuidm"
Expand All @@ -24,7 +17,7 @@ depends: [
"js_of_ocaml" {>= "3.0.0"}
"js_of_ocaml-tyxml"
"omd"
"ounit" {test}
"ounit" {with-test}
"tar"
"cohttp"
"cohttp-lwt-jsoo"
Expand All @@ -37,3 +30,14 @@ depends: [
"ppx_deriving"
"dune" {>= "1.11.0"}
]
build: [
[make "client"]
[make "test"] {with-test}
[make "slow_test"] {with-test}
]
dev-repo: "git+https://github.com/talex5/cuekeeper.git"
description: """
CueKeeper is a web-based GTD system (a fancy TODO list) that runs entirely in
your browser (the data is stored on your computer, in your browser). It uses
Irmin to keep a full history of all updates.
"""

0 comments on commit 51e1287

Please sign in to comment.