-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
67 additions
and
501 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"ocaml.sandbox": { | ||
"kind": "opam", | ||
"switch": "${workspaceFolder:hello-native-bucklescript}" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,20 @@ | ||
(library | ||
(name date_js) | ||
(libraries bs_atdgen_codec_runtime) | ||
(modes melange)) | ||
(libraries melange-atdgen-codec-runtime tomorrow) | ||
(modes melange) | ||
(preprocess | ||
(pps melange.ppx))) | ||
|
||
(copy_files# "../shared_ml/*.{ml,mli}") | ||
(copy_files# "../shared/yesterday.mli") | ||
|
||
(copy_files# "../shared_atd/*_bs.{ml,mli}") | ||
|
||
(copy_files# "../shared_atd/*_t.{ml,mli}") | ||
(rule | ||
(targets user_t.mli user_t.ml) | ||
(deps ../shared/user.atd) | ||
(action | ||
(run %{bin:atdgen} -t %{deps} -o ../js/user))) | ||
|
||
(rule | ||
(target user_bs.ml) | ||
(deps ../shared/user.atd) | ||
(action | ||
(run %{bin:atdgen} -bs %{deps} -o ../js/user))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
(library | ||
(name date_native) | ||
(libraries atdgen-runtime yojson unix ISO8601)) | ||
(libraries atdgen-runtime tomorrow yojson unix ISO8601)) | ||
|
||
(copy_files# "../shared_ml/*.{ml,mli}") | ||
(copy_files# "../shared/yesterday.mli") | ||
|
||
(copy_files# "../shared_atd/*_j.{ml,mli}") | ||
(rule | ||
(targets user_t.mli user_t.ml) | ||
(deps ../shared/user.atd) | ||
(action | ||
(run %{bin:atdgen} -t %{deps} -o ../native/user))) | ||
|
||
(copy_files# "../shared_atd/*_t.{ml,mli}") | ||
(rule | ||
(target user_j.ml) | ||
(deps ../shared/user.atd) | ||
(action | ||
(run %{bin:atdgen} -j -j-std %{deps} -o ../native/user))) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(library | ||
(name tomorrow) | ||
(modes :standard melange)) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
(lang dune 3.6) | ||
(lang dune 3.10) | ||
|
||
(using melange 0.1) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.