-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #144 from samoht/opam2
Use opam2
- Loading branch information
Showing
7 changed files
with
34 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ _build | |
*.install | ||
.merlin | ||
_tests/ | ||
_opam |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,24 @@ | ||
opam-version: "1.2" | ||
maintainer: "[email protected]" | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
authors: "Thomas Gazagnaire" | ||
homepage: "https://github.com/mirage/alcotest/" | ||
dev-repo: "https://github.com/mirage/alcotest.git" | ||
dev-repo: "git+https://github.com/mirage/alcotest.git" | ||
bug-reports: "https://github.com/mirage/alcotest/issues/" | ||
license: "ISC" | ||
doc: "https://mirage.github.io/alcotest/" | ||
|
||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
build-test: ["dune" "runtest" "-p" name "-j" jobs] | ||
|
||
depends: [ | ||
"dune" {build} | ||
"ocaml" {>= "4.03.0"} | ||
"alcotest" | ||
"async_unix" {>= "v0.9.0"} | ||
"core_kernel" {>= "v0.9.0"} | ||
] | ||
available: [ocaml-version >= "4.03.0"] | ||
|
||
synopsis: "Async-based helpers for Alcotest" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
opam-version: "1.2" | ||
maintainer: "[email protected]" | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
authors: "Thomas Gazagnaire" | ||
homepage: "https://github.com/mirage/alcotest/" | ||
dev-repo: "https://github.com/mirage/alcotest.git" | ||
dev-repo: "git+https://github.com/mirage/alcotest.git" | ||
bug-reports: "https://github.com/mirage/alcotest/issues/" | ||
license: "ISC" | ||
doc: "https://mirage.github.io/alcotest/" | ||
|
||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
build-test: ["dune" "runtest" "-p" name "-j" jobs] | ||
|
||
depends: [ | ||
"dune" {build} | ||
"ocaml" {>= "4.02.3"} | ||
"alcotest" | ||
"lwt" "logs" | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
|
||
synopsis: "Lwt-based helpers for Alcotest" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,38 @@ | ||
opam-version: "1.2" | ||
maintainer: "[email protected]" | ||
opam-version: "2.0" | ||
maintainer: "[email protected]" | ||
authors: "Thomas Gazagnaire" | ||
homepage: "https://github.com/mirage/alcotest/" | ||
dev-repo: "https://github.com/mirage/alcotest.git" | ||
dev-repo: "git+https://github.com/mirage/alcotest.git" | ||
bug-reports: "https://github.com/mirage/alcotest/issues/" | ||
license: "ISC" | ||
doc: "https://mirage.github.io/alcotest/" | ||
|
||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name "-j" jobs] {with-test} | ||
] | ||
build-test: ["dune" "runtest" "-p" name "-j" jobs] | ||
|
||
depends: [ | ||
"dune" {build & >= "1.1.0"} | ||
"ocaml" {>= "4.02.3"} | ||
"fmt" {>= "0.8.0"} | ||
"astring" | ||
"result" | ||
"cmdliner" | ||
"uuidm" | ||
] | ||
available: [ocaml-version >= "4.02.3"] | ||
|
||
synopsis: "Alcotest is a lightweight and colourful test framework" | ||
|
||
description: """ | ||
Alcotest exposes simple interface to perform unit tests. It exposes | ||
a simple TESTABLE module type, a check function to assert test | ||
predicates and a run function to perform a list of unit -> unit | ||
test callbacks. | ||
|
||
Alcotest provides a quiet and colorful output where only faulty runs | ||
are fully displayed at the end of the run (with the full logs ready to | ||
inspect), with a simple (yet expressive) query language to select the | ||
tests to run. | ||
""" |