Skip to content

Commit 791318c

Browse files
committed
Depend on opam_of_packagejson.
1 parent 554c6d4 commit 791318c

File tree

4 files changed

+42
-17
lines changed

4 files changed

+42
-17
lines changed

META

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
version = "0.0.1"
2+
description = "My reason example project."
3+
4+
archive(byte) = "ReasonNativeProject.cma"
5+
archive(native) = "ReasonNativeProject.cmxa"

ReasonNativeProject.install

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
# ReasonNativeProject
22

3-
bin: [
4-
"_build/src/index.native" {"index"} ]
3+
lib: [
4+
"./META" {"META"}
5+
"./opam" {"opam"}
6+
"_build/src/ReasonNativeProject.a" {"ReasonNativeProject.a"}
7+
"_build/src/ReasonNativeProject.cma" {"ReasonNativeProject.cma"}
8+
"_build/src/ReasonNativeProject.cmi" {"ReasonNativeProject.cmi"}
9+
"_build/src/ReasonNativeProject.cmo" {"ReasonNativeProject.cmo"}
10+
"_build/src/ReasonNativeProject.cmx" {"ReasonNativeProject.cmx"}
11+
"_build/src/ReasonNativeProject.cmxa" {"ReasonNativeProject.cmxa"}
12+
"_build/src/ReasonNativeProject.o" {"ReasonNativeProject.o"} ]

opam

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,12 @@
11
opam-version: "1.2"
2-
name: "ReasonNativeProject"
32
version: "0.0.1"
4-
maintainer: "Jordan Walke <jordojw@gmail.com>"
5-
authors: [
6-
"Jordan Walke <jordojw@gmail.com>"
7-
"Maxwell Bernstein <max@bernsteinbear.com>"
3+
dev-repo: "https://github.com/reasonml/ReasonNativeProject.git"
4+
maintainer: "FirstName LastName <email@email.com>"
5+
authors: [ "FirstName LastName <email@email.com>" ]
6+
depends: [
7+
"reason" { build & >= "1.13.3" }
88
]
9-
license: "BSD"
10-
homepage: "https://github.com/reasonml/ReasonNativeProject"
11-
doc: "https://reasonml.github.io/ReasonNativeProject/"
12-
bug-reports: "https://github.com/reasonml/ReasonNativeProject/issues"
13-
dev-repo: "git://github.com/reasonml/ReasonNativeProject.git"
14-
tags: [ "reason" "example" ]
159
build: [
16-
[make "build"]
17-
]
18-
depends: [
19-
"reason" {= "1.13.3"}
10+
[ make "build" ]
2011
]
2112
available: [ ocaml-version >= "4.02" & ocaml-version < "4.05" ]

package.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "ReasonNativeProject",
3+
"version": "0.0.1",
4+
"description": "My reason example project.",
5+
"author": "FirstName LastName <email@email.com>",
6+
"repository": {
7+
"type": "git",
8+
"url": "https://github.com/reasonml/ReasonNativeProject.git"
9+
},
10+
"scripts": {
11+
"release": "opam_of_packagejson -gen-meta -gen-opam -gen-install package.json && opam publish"
12+
},
13+
"devDependencies": {
14+
"opam_of_packagejson": "*"
15+
},
16+
"opam": {
17+
"dependencies": {
18+
"reason": "build & >= \"1.13.3\""
19+
}
20+
}
21+
}

0 commit comments

Comments
 (0)