From 51e1287d3313aa7d0fbbe6cbcb06eee65afa0c47 Mon Sep 17 00:00:00 2001 From: Thomas Leonard Date: Tue, 31 Dec 2019 13:37:27 +0000 Subject: [PATCH] Migrate opam file to opam 2 format --- Dockerfile | 2 +- opam => cuekeeper.opam | 28 ++++++++++++++++------------ 2 files changed, 17 insertions(+), 13 deletions(-) rename opam => cuekeeper.opam (60%) diff --git a/Dockerfile b/Dockerfile index 61c0cb0..d5df7eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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", "--"] diff --git a/opam b/cuekeeper.opam similarity index 60% rename from opam rename to cuekeeper.opam index 1746fe7..59db785 100644 --- a/opam +++ b/cuekeeper.opam @@ -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 " authors: "Thomas Leonard " +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" @@ -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" @@ -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. +"""