Skip to content

Commit

Permalink
Merge pull request #39 from rgrinberg/mustache-cli
Browse files Browse the repository at this point in the history
Publish mustache-cli as mustache under mustache package
  • Loading branch information
anton-trunov committed Apr 8, 2019
2 parents ef23578 + 18b8983 commit d800233
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ script: bash -ex ./.travis-docker.sh
env:
global:
- PACKAGE="mustache"
- PINS="mustache-unix:. mustache:."
- PINS="mustache:."
matrix:
- DISTRO="debian-stable" OCAML_VERSION="4.03"
- DISTRO="debian-testing" OCAML_VERSION="4.04"
Expand Down
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### 3.1.0

* Add a `mustache-unix` package under which `mustache-cli` is installed. (@avsm)
* Install `mustache` command line utility (@avsm, @anton-trunov)
* Update opam metadata to 2.0 format (@avsm)
* Port build to Dune (@avsm)
* Fix ocamldoc syntax to be compatible with odoc (@avsm)
Expand Down
4 changes: 1 addition & 3 deletions bin/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
(executable
(name mustache_cli)
(public_name mustache-cli)
(public_name mustache)
(modules mustache_cli)
(package mustache-unix)
(libraries mustache ezjsonm))

23 changes: 0 additions & 23 deletions mustache-unix.opam

This file was deleted.

3 changes: 2 additions & 1 deletion mustache.opam
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ bug-reports: "https://github.com/rgrinberg/ocaml-mustache/issues"
depends: [
"ocaml" {>= "4.03"}
"dune" {build}
"ezjsonm"
"menhir"
"ounit" {with-test}
"ezjsonm" {with-test}
]
build: [
["dune" "subst"] {pinned}
Expand All @@ -21,4 +21,5 @@ dev-repo: "git+https://github.com/rgrinberg/ocaml-mustache.git"
synopsis: "Mustache logic-less templates in OCaml"
description: """
Read and write mustache templates, and render them by providing a json object.
Contains the `mustache` command line utility for driving logic-less templates.
"""

0 comments on commit d800233

Please sign in to comment.