Skip to content

Commit

Permalink
Depend on opam_of_packagejson.
Browse files Browse the repository at this point in the history
  • Loading branch information
bsansouci committed May 17, 2017
1 parent 3138e0f commit 7c78062
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 17 deletions.
5 changes: 5 additions & 0 deletions META
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
version = "0.0.1"
description = "My reason example project."

archive(byte) = "ReasonNativeProject.cma"
archive(native) = "ReasonNativeProject.cmxa"
12 changes: 10 additions & 2 deletions ReasonNativeProject.install
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# ReasonNativeProject

bin: [
"_build/src/index.native" {"index"} ]
lib: [
"./META" {"META"}
"./opam" {"opam"}
"_build/src/ReasonNativeProject.a" {"ReasonNativeProject.a"}
"_build/src/ReasonNativeProject.cma" {"ReasonNativeProject.cma"}
"_build/src/ReasonNativeProject.cmi" {"ReasonNativeProject.cmi"}
"_build/src/ReasonNativeProject.cmo" {"ReasonNativeProject.cmo"}
"_build/src/ReasonNativeProject.cmx" {"ReasonNativeProject.cmx"}
"_build/src/ReasonNativeProject.cmxa" {"ReasonNativeProject.cmxa"}
"_build/src/ReasonNativeProject.o" {"ReasonNativeProject.o"} ]
21 changes: 6 additions & 15 deletions opam
Original file line number Diff line number Diff line change
@@ -1,21 +1,12 @@
opam-version: "1.2"
name: "ReasonNativeProject"
version: "0.0.1"
maintainer: "Jordan Walke <[email protected]>"
authors: [
"Jordan Walke <[email protected]>"
"Maxwell Bernstein <[email protected]>"
dev-repo: "https://github.com/reasonml/ReasonNativeProject.git"
maintainer: "FirstName LastName <[email protected]>"
authors: [ "FirstName LastName <[email protected]>" ]
depends: [
"reason" { build & >= "1.13.3" }
]
license: "BSD"
homepage: "https://github.com/reasonml/ReasonNativeProject"
doc: "https://reasonml.github.io/ReasonNativeProject/"
bug-reports: "https://github.com/reasonml/ReasonNativeProject/issues"
dev-repo: "git://github.com/reasonml/ReasonNativeProject.git"
tags: [ "reason" "example" ]
build: [
[make "build"]
]
depends: [
"reason" {= "1.13.3"}
[ make "build" ]
]
available: [ ocaml-version >= "4.02" & ocaml-version < "4.05" ]
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "ReasonNativeProject",
"version": "0.0.1",
"description": "My reason example project.",
"author": "FirstName LastName <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/reasonml/ReasonNativeProject.git"
},
"scripts": {
"release": "opam_of_packagejson -gen-meta -gen-opam -gen-install package.json && opam publish"
},
"devDependencies": {
"opam_of_packagejson": "*"
},
"opam": {
"dependencies": {
"reason": "build & >= \"1.13.3\""
}
}
}

0 comments on commit 7c78062

Please sign in to comment.