Skip to content

Commit 2c71af2

Browse files
jaredlyjordwalke
authored andcommitted
move things more
1 parent a1a7de1 commit 2c71af2

7 files changed

Lines changed: 8 additions & 6 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
(executable
44
((name test)
5-
; This will be installable as a global binary via opam
5+
; This will be installable as a global binary
66
(public_name reason_native_project)
77
; and it depends on 2 local libraries
8-
(libraries (internal_lib reason_native_project))))
8+
(libraries (lib internal))))
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ let msg = "Hello Reason!";
66
print_string msg;
77
print_newline ();
88
print_string "!!!!!!\n";
9-
print_endline Internal_lib.M2.z;
9+
print_endline Internal.M2.z;
1010

11-
let a = Reason_native_lib.M1.answer;
11+
let a = Lib.M1.answer;
1212
Printf.printf "Answer: %d\n" a
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
;; why is this lib internal?
44
;; because it doesn't have a public_name
5+
;; so it won't be exposed to opam as an
6+
;; installable/distributable library
57
(library
6-
((name internal_lib)
8+
((name internal)
79
(libraries (re))))
File renamed without changes.
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
(jbuild_version 1)
22

33
(library
4-
((name reason_native_lib)
4+
((name lib)
55
; this will be exported & installable as a library via OPAM
66
(public_name reason_native_project)
77
(libraries (re))))
File renamed without changes.

0 commit comments

Comments
 (0)