Skip to content

Commit e48b5d8

Browse files
jaredlyjordwalke
authored andcommitted
more renamings
1 parent 2c71af2 commit e48b5d8

9 files changed

Lines changed: 11 additions & 13 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ build:
22
jbuilder build
33

44
run: build
5-
./_build/install/default/bin/reason_native_project
5+
./_build/install/default/bin/reason-native-bin
66

77
test:
88
jbuilder runtest

bin/jbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
(executable
44
((name test)
55
; This will be installable as a global binary
6-
(public_name reason_native_project)
6+
(public_name reason-native-bin)
77
; and it depends on 2 local libraries
88
(libraries (lib internal))))

bin/test.re

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.M2.z;
9+
print_endline Internal.GoodValues.message;
1010

11-
let a = Lib.M1.answer;
11+
let a = Lib.LifeTheUniverseAndEverything.answer;
1212
Printf.printf "Answer: %d\n" a

internal/GoodValues.re

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
/* Getting a value from another module within this directory */
3+
let message = "value from " ^ (Something.format);
4+
5+
/* Getting a value from an external library (specified in jbuild) */
6+
let rx = Re.str "hello";
File renamed without changes.

internal/m2.re

Lines changed: 0 additions & 8 deletions
This file was deleted.

lib/jbuild

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
(library
44
((name lib)
55
; this will be exported & installable as a library via OPAM
6-
(public_name reason_native_project)
6+
(public_name ReasonNativeProject)
77
(libraries (re))))

0 commit comments

Comments
 (0)