-
Notifications
You must be signed in to change notification settings - Fork 25
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 #71 from psafont/newcmd
Rename CLI tool to mustache-ocaml, separate it into it's own package
- Loading branch information
Showing
79 changed files
with
153 additions
and
103 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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,40 @@ | ||
# This file is generated by dune, edit dune-project instead | ||
opam-version: "2.0" | ||
synopsis: "CLI for Mustache logic-less templates" | ||
description: """ | ||
|
||
Command line utility `mustache-ocaml` for driving logic-less templates. | ||
Read and write mustache templates, and render them by providing a json object. | ||
""" | ||
maintainer: ["Rudi Grinberg <[email protected]>"] | ||
authors: [ | ||
"Rudi Grinberg <[email protected]>" | ||
"Armaël Guéneau <[email protected]>" | ||
"Gabriel Scherer <[email protected]>" | ||
] | ||
license: "MIT" | ||
homepage: "https://github.com/rgrinberg/ocaml-mustache" | ||
bug-reports: "https://github.com/rgrinberg/ocaml-mustache/issues" | ||
depends: [ | ||
"dune" {>= "2.7"} | ||
"jsonm" {>= "1.0.1"} | ||
"mustache" {= version} | ||
"cmdliner" {>= "1.1.0"} | ||
"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" |
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,16 @@ | ||
(executable | ||
(name mustache_cli) | ||
(public_name mustache-ocaml) | ||
(package mustache-cli) | ||
(libraries mustache jsonm cmdliner)) | ||
|
||
(rule | ||
(deps (:bin mustache_cli.exe)) | ||
(action | ||
(with-stdout-to mustache.1 | ||
(run %{bin} --help=groff)))) | ||
|
||
(install | ||
(section man) | ||
(package mustache-cli) | ||
(files mustache.1)) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(cram | ||
(deps %{bin:mustache-ocaml})) |
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,2 @@ | ||
(cram | ||
(deps %{bin:mustache-ocaml})) |
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
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.
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
File renamed without changes.
Oops, something went wrong.