Skip to content

Conversation

bsansouci
Copy link
Contributor

See #2418 for details.

This works by creating a dir of the name given and then doing the same
thing as it used to do: given_dir/lib/bs and given_dir/lib/ocaml
etc...

The bs-dependencies' artifacts are in given_dir/node_modules/dep_name/lib

This does not seem to significantly increase build times, but it'd be
nice to make sure it doesn't.

cc @chenglou @Schmavery

This works by creating a dir of the name given and then doing the same
thing as it used to do: `given_dir/lib/bs` and `given_dir/lib/ocaml`
etc...

The bs-dependencies' artifacts are in `dir/node_modules/dep_name/lib`

This does not seem to significantly increase build times, but it'd be
nice to make sure it doesn't.

cc @chenglou @Schmavery
@bsansouci
Copy link
Contributor Author

Little addition: this supports building a project out of source when used like -build-artifacts-dir . (you'd end up with the same folder structure as today but with the additional of lib/node_modules)

@bsansouci
Copy link
Contributor Author

Friendly ping :)

@chenglou
Copy link
Member

Ah, Jordan said he had his own solution also. @jordwalke can you paste your patch too?

@rrdelaney
Copy link

Any chance of this getting merged?

ulrikstrid added a commit to reuniverse/rocket that referenced this pull request Jul 13, 2019
The code is mostly taken from rescript-lang/pull/2514

Co-authored-by:  Benjamin San Souci <benjamin.sansouci@gmail.com>"
ulrikstrid added a commit to reuniverse/rocket that referenced this pull request Jul 15, 2019
The code is mostly taken from rescript-lang/pull/2514

Co-authored-by:  Benjamin San Souci <benjamin.sansouci@gmail.com>"
@cristianoc
Copy link
Collaborator

closing very old PRs

@cristianoc cristianoc closed this Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants