-
Notifications
You must be signed in to change notification settings - Fork 27
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 #8 from avsm/rel-0.3
release 0.3
- Loading branch information
Showing
8 changed files
with
44 additions
and
36 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 |
---|---|---|
@@ -1,10 +1,14 @@ | ||
v0.2 (2017-05-18) | ||
## v0.3 2017-07-03 | ||
|
||
- Build tweaks to support topkg versioning (@avsm) | ||
|
||
## v0.2 2017-05-18 | ||
|
||
- add example program and update README | ||
- switch to jbuilder | ||
- throw a clearer error on registering a duplicate metric | ||
- use `Re` rather than `Str` | ||
|
||
v0.1 | ||
---- | ||
## v0.1 | ||
|
||
Initial release. | ||
- Initial release. |
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,32 @@ | ||
PINOPTS=-y -k git | ||
|
||
TESTS = true | ||
.PHONY: build clean test | ||
|
||
.PHONY: all clean prometheus | ||
build: | ||
jbuilder build @install | ||
|
||
all: prometheus prometheus-app | ||
@ | ||
test: | ||
jbuilder runtest | ||
|
||
depends: | ||
opam pin add ${PINOPTS} prometheus . | ||
opam pin add ${PINOPTS} prometheus-app . | ||
install: | ||
jbuilder install | ||
|
||
prometheus-app: | ||
jbuilder build @runtest | ||
|
||
prometheus: | ||
jbuilder build --only-packages prometheus | ||
uninstall: | ||
jbuilder uninstall | ||
|
||
clean: | ||
rm -rf _build | ||
rm -rf _build *.install | ||
|
||
REPO=../../mirage/opam-repository | ||
PACKAGES=$(REPO)/packages | ||
# until we have https://github.com/ocaml/opam-publish/issues/38 | ||
pkg-%: | ||
topkg opam pkg -n $* | ||
mkdir -p $(PACKAGES)/$* | ||
cp -r _build/$*.* $(PACKAGES)/$*/ | ||
cd $(PACKAGES) && git add $* | ||
|
||
PKGS=$(basename $(wildcard *.opam)) | ||
opam-pkg: | ||
$(MAKE) $(PKGS:%=pkg-%) | ||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/usr/bin/env ocaml | ||
#use "topfind" | ||
#require "topkg-jbuilder.auto" |
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
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
This file was deleted.
Oops, something went wrong.