tangled
alpha
login
or
join now
anil.recoil.org
/
unpac-work
0
fork
atom
My working unpac repository
0
fork
atom
overview
issues
pulls
pipelines
port to dune and opam 2.0 metadata
anil.recoil.org
6 years ago
dcabde6a
51c3466a
+56
-72
11 changed files
expand all
collapse all
unified
split
vendor
opam
stringext
.gitignore
CHANGES.md
Makefile
dune-project
lib
dune
jbuild
lib_test
dune
jbuild
pkg
pkg.ml
stringext.descr
stringext.opam
+2
-5
vendor/opam/stringext/.gitignore
···
1
1
-
/_build/
2
2
-
/setup.data
3
3
-
/setup.log
4
4
-
*.native
1
1
+
_build
5
2
.merlin
6
6
-
*.install
3
3
+
*.install
+7
vendor/opam/stringext/CHANGES.md
···
1
1
+
# v1.6.0
2
2
+
3
3
+
* Port to dune and opam 2.0 metadata format
4
4
+
5
5
+
# v1.5.0 and earlier
6
6
+
7
7
+
No changelogs recorded.
+3
-21
vendor/opam/stringext/Makefile
···
1
1
.PHONY: all clean test
2
2
3
3
-
BUILD=jbuilder build --dev
4
4
-
RUNTEST=jbuilder runtest -j1 --no-buffer --dev
5
5
-
6
3
all:
7
7
-
$(BUILD)
4
4
+
dune build
8
5
9
6
test:
10
10
-
$(RUNTEST)
7
7
+
dune runtest
11
8
12
9
clean:
13
13
-
rm -rf _build
14
14
-
15
15
-
REPO=../opam-repository
16
16
-
PACKAGES=$(REPO)/packages
17
17
-
18
18
-
# until we have https://github.com/ocaml/opam-publish/issues/38
19
19
-
pkg-%:
20
20
-
topkg opam pkg -n $*
21
21
-
mkdir -p $(PACKAGES)/$*
22
22
-
cp -r _build/$*.* $(PACKAGES)/$*/
23
23
-
rm -f $(PACKAGES)/$*/$*.opam
24
24
-
cd $(PACKAGES) && git add $*
25
25
-
26
26
-
PKGS=$(basename $(wildcard *.opam))
27
27
-
opam-pkg:
28
28
-
$(MAKE) $(PKGS:%=pkg-%)
10
10
+
rm -rf _build *.install
+2
vendor/opam/stringext/dune-project
···
1
1
+
(lang dune 1.0)
2
2
+
(name stringext)
+4
vendor/opam/stringext/lib/dune
···
1
1
+
(library
2
2
+
(name stringext)
3
3
+
(public_name stringext)
4
4
+
(wrapped false))
-6
vendor/opam/stringext/lib/jbuild
···
1
1
-
(jbuild_version 1)
2
2
-
3
3
-
(library
4
4
-
((name stringext)
5
5
-
(public_name stringext)
6
6
-
(wrapped false)))
+17
vendor/opam/stringext/lib_test/dune
···
1
1
+
(executables
2
2
+
(names test_stringext test_stringext_qcheck)
3
3
+
(libraries stringext oUnit qcheck))
4
4
+
5
5
+
(alias
6
6
+
(name runtest)
7
7
+
(deps
8
8
+
(:< test_stringext.exe))
9
9
+
(action
10
10
+
(run %{<})))
11
11
+
12
12
+
(alias
13
13
+
(name runtest)
14
14
+
(deps
15
15
+
(:< test_stringext_qcheck.exe))
16
16
+
(action
17
17
+
(run %{<})))
-15
vendor/opam/stringext/lib_test/jbuild
···
1
1
-
(jbuild_version 1)
2
2
-
3
3
-
(executables
4
4
-
((names (test_stringext test_stringext_qcheck))
5
5
-
(libraries (stringext oUnit qcheck))))
6
6
-
7
7
-
(alias
8
8
-
((name runtest)
9
9
-
(deps (test_stringext.exe))
10
10
-
(action (run ${<}))))
11
11
-
12
12
-
(alias
13
13
-
((name runtest)
14
14
-
(deps (test_stringext_qcheck.exe))
15
15
-
(action (run ${<}))))
-2
vendor/opam/stringext/pkg/pkg.ml
···
1
1
-
#use "topfind"
2
2
-
#require "topkg-jbuilder.auto"
-4
vendor/opam/stringext/stringext.descr
···
1
1
-
Extra string functions for OCaml
2
2
-
3
3
-
Extra string functions for OCaml. Mainly splitting. All functions are in the
4
4
-
Stringext module.
+21
-19
vendor/opam/stringext/stringext.opam
···
1
1
-
opam-version: "1.2"
2
2
-
maintainer: "rudi.grinberg@gmail.com"
3
3
-
authors: "Rudi Grinberg"
4
4
-
homepage: "https://github.com/rgrinberg/stringext"
5
5
-
bug-reports: "https://github.com/rgrinberg/stringext/issues"
6
6
-
license: "MIT"
7
7
-
dev-repo: "https://github.com/rgrinberg/stringext.git"
8
8
-
9
9
-
build: [
10
10
-
["jbuilder" "subst" "-n" name] {pinned}
11
11
-
["jbuilder" "build" "-p" name "-j" jobs]
12
12
-
]
13
13
-
build-test: [["jbuilder" "runtest" "-p" name "-j" jobs]]
14
14
-
1
1
+
opam-version: "2.0"
2
2
+
maintainer: "rudi.grinberg@gmail.com"
3
3
+
authors: "Rudi Grinberg"
4
4
+
license: "MIT"
5
5
+
homepage: "https://github.com/rgrinberg/stringext"
6
6
+
bug-reports: "https://github.com/rgrinberg/stringext/issues"
15
7
depends: [
16
16
-
"jbuilder" {build & >= "1.0+beta10"}
17
17
-
"ounit" {test}
18
18
-
"qtest" {test & >="2.2"}
8
8
+
"ocaml" {>= "4.02.3"}
9
9
+
"dune" {build & >= "1.0"}
10
10
+
"ounit" {with-test}
11
11
+
"qtest" {with-test & >= "2.2"}
19
12
"base-bytes"
20
13
]
21
21
-
22
22
-
available: [ocaml-version >= "4.02.3"]
14
14
+
build: [
15
15
+
["dune" "subst"] {pinned}
16
16
+
["dune" "build" "-p" name "-j" jobs]
17
17
+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
18
18
+
]
19
19
+
dev-repo: "git+https://github.com/rgrinberg/stringext.git"
20
20
+
synopsis: "Extra string functions for OCaml"
21
21
+
description: """
22
22
+
Extra string functions for OCaml. Mainly splitting. All functions are in the
23
23
+
Stringext module.
24
24
+
"""