File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 ))))
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ let msg = "Hello Reason!";
66print_string msg;
77print_newline () ;
88print_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;
1212Printf . printf "Answer: % d \n " a
Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 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.
You can’t perform that action at this time.
0 commit comments