Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package split #66

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@

(source (github rgrinberg/ocaml-mustache))



(generate_opam_files true)

(package
Expand All @@ -26,9 +24,21 @@ Read and write mustache templates, and render them by providing a json object.
Contains the `mustache` command line utility for driving logic-less templates.
")
(depends
(jsonm (>= 1.0.1))
(ounit :with-test)
(ezjsonm :with-test)
(menhir (>= 20180703))
(ocaml (>= 4.08))))

(package
(name mustache-cli)
(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.
")
(depends
(mustache (= :version))
(ounit :with-test)
(ezjsonm :with-test)
(cmdliner (>= 1.0.4))
(ocaml (>= 4.08))))
41 changes: 41 additions & 0 deletions mustache-cli.opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
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.
"""
maintainer: ["Rudi Grinberg <me@rgrinerg.com>"]
authors: [
"Rudi Grinberg <me@rgrinberg.com>"
"Armaël Guéneau <armael.gueneau@ens-lyon.fr>"
"Gabriel Scherer <gabriel.scherer@gmail.com>"
]
license: "MIT"
homepage: "https://github.com/rgrinberg/ocaml-mustache"
bug-reports: "https://github.com/rgrinberg/ocaml-mustache/issues"
depends: [
"dune" {>= "2.7"}
"mustache" {= version}
"ounit" {with-test}
"ezjsonm" {with-test}
"cmdliner" {>= "1.0.4"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
]
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/rgrinberg/ocaml-mustache.git"
2 changes: 1 addition & 1 deletion bin/dune → mustache-cli/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(executable
(name mustache_cli)
(public_name mustache)
(modules mustache_cli)
(package mustache-cli)
(libraries mustache jsonm cmdliner))

(rule
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 0 additions & 2 deletions mustache.opam
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,9 @@ homepage: "https://github.com/rgrinberg/ocaml-mustache"
bug-reports: "https://github.com/rgrinberg/ocaml-mustache/issues"
depends: [
"dune" {>= "2.7"}
"jsonm" {>= "1.0.1"}
"ounit" {with-test}
"ezjsonm" {with-test}
"menhir" {>= "20180703"}
"cmdliner" {>= "1.0.4"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
]
Expand Down
1 change: 0 additions & 1 deletion examples/dune → mustache/examples/dune
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
(executable
(name mustache_example)
(modules mustache_example)
(libraries mustache ezjsonm))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.