You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-9Lines changed: 6 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,25 +29,22 @@ make clean # clean the compiled artifacts
29
29
A single test file `./src/test.re` is included. Make a simple change to it and
30
30
then run the commands above to see it effect the output.
31
31
32
-
The built output is in `_build`. Try running it with `_build/src/test.native`.
32
+
The built output is in `_build` but the final binary is symlinked `_build/src/index.native -> index.native`.
33
33
34
34
## Developing Your Project
35
35
36
-
`ReasonNativeProject` is meant to be the starting point of your own project. You'll
37
-
want to make use of existing libraries in your app, so browse the growing set
38
-
of `opam` packages in the [opam repository](http://opam.ocaml.org/packages/).
36
+
`ReasonNativeProject` is meant to be the starting point of your own project. You'll want to make use of existing libraries in your app, so browse the growing set of `opam` packages in the [opam repository](http://opam.ocaml.org/packages/).
39
37
40
38
##### Add Another Dependency
41
39
42
-
Edit your `opam` file so that you depend on a particular opam package and range
43
-
of versions.
40
+
While developing you can simply modify the `_tags` file which is what `rebuild uses to figure out what you depend on. See inside that file for more instructions.
41
+
42
+
Before publishing onto opam you'll need to edit your `opam` file so that you depend on a particular opam package and range of versions.
44
43
45
44
### Creating Libraries
46
45
47
46
See the [OPAM instructions](https://opam.ocaml.org/doc/Packaging.html).
48
47
49
48
## Troubleshooting
50
49
51
-
In general, if something goes wrong, try upgrading your install of the project
52
-
by running `opam upgrade ReasonNativeProject`, or if it failed to install and you
53
-
later fixed it, `opam install ReasonNativeProject`.
50
+
In general, if something goes wrong, try upgrading your install of the project by running `opam upgrade ReasonNativeProject`, or if it failed to install and you later fixed it, `opam install ReasonNativeProject`.
0 commit comments