Skip to content
Permalink
Browse files

Merge branch 'master' of https://github.com/gildor478/ounit

  • Loading branch information...
gildor478 committed Sep 12, 2019
2 parents 38c4890 + 553fb86 commit 67e94928458e85fc1d16347b5d7845e5f77aa721
@@ -1,11 +1,5 @@
/_build/
/setup.data
/setup.log
_build/
*.merlin
*.install
*.swp
/dist/
/test.byte
/log-html/
/junit.xml
/testFakeHTML.byte
/testFakeRunner.byte
/testFakeShared.byte
/api-ounit.docdir

This file was deleted.

@@ -7,7 +7,7 @@ cache:
- $HOME/.opam
env:
global:
- PACKAGE=ounit EXTRA_DEPS=oasis OUNIT_CI=true
- PACKAGE=ounit OUNIT_CI=true
matrix:
include:
- apt:
@@ -30,52 +30,31 @@
# See LICENSE.txt for details. #
############################################################################

#TESTFLAGS=-only-test "OUnit:1"
#TESTFLAGS=-verbose true

default: test

# OASIS_START
# DO NOT EDIT (digest: a3c674b4239234cbbe53afe090018954)

SETUP = ocaml setup.ml
build:
dune build @install

build: setup.data
$(SETUP) -build $(BUILDFLAGS)
doc:
dune build @doc

doc: setup.data build
$(SETUP) -doc $(DOCFLAGS)

test: setup.data build
$(SETUP) -test $(TESTFLAGS)
test:
dune runtest

all:
$(SETUP) -all $(ALLFLAGS)

install: setup.data
$(SETUP) -install $(INSTALLFLAGS)
dune build @all
dune runtest

uninstall: setup.data
$(SETUP) -uninstall $(UNINSTALLFLAGS)
install:
dune install

reinstall: setup.data
$(SETUP) -reinstall $(REINSTALLFLAGS)
uninstall:
dune uninstall

clean:
$(SETUP) -clean $(CLEANFLAGS)

distclean:
$(SETUP) -distclean $(DISTCLEANFLAGS)

setup.data:
$(SETUP) -configure $(CONFIGUREFLAGS)

configure:
$(SETUP) -configure $(CONFIGUREFLAGS)

.PHONY: build doc test all install uninstall reinstall clean distclean configure
dune clean

# OASIS_STOP
.PHONY: build doc test all install uninstall clean

doc-test: doc
ocamldoc -g ../ocaml-tmp/odoc-extract-code/odoc_extract_code.cmo \
@@ -84,13 +63,7 @@ doc-test: doc

PRECOMMIT_ARGS= \
--exclude log-html \
--exclude myocamlbuild.ml \
--exclude setup.ml \
--exclude README.txt \
--exclude INSTALL.txt \
--exclude Makefile \
--exclude configure \
--exclude _tags
--exclude Makefile

precommit:
-@if command -v OCamlPrecommit > /dev/null; then \
121 _oasis

This file was deleted.

5 _tags

This file was deleted.

@@ -5,7 +5,7 @@ environment:
FORK_USER: ocaml
FORK_BRANCH: master
CYG_ROOT: C:\cygwin64
EXTRA_DEPS: oasis
EXTRA_DEPS: dune
OUNIT_CI: true

install:

This file was deleted.

@@ -0,0 +1,3 @@
(lang dune 1.11)
(name ounit)
(explicit_js_mode)

This file was deleted.

@@ -7,18 +7,14 @@ dev-repo: "git+https://github.com/gildor478/ounit.git"
doc: ["http://ounit.forge.ocamlcore.org/api-ounit/index.html"]
depends: [
"ocaml" {>= "3.11.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"dune" {build & >= "1.11.0"}
"base-bytes"
"stdlib-shims"
]
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-configure" "--enable-tests"] {with-test}
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-doc"] {with-doc}
["ocaml" "setup.ml" "-test"] {with-test}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name] {with-test}
["dune" "build" "@doc" "-p" name] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
synopsis:
"Unit testing framework loosely based on HUnit. It is similar to JUnit, and other XUnit testing frameworks"

This file was deleted.

0 comments on commit 67e9492

Please sign in to comment.
You can’t perform that action at this time.