Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale build_script #69

Open
Schmavery opened this issue Aug 21, 2018 · 0 comments
Open

Stale build_script #69

Schmavery opened this issue Aug 21, 2018 · 0 comments

Comments

@Schmavery
Copy link
Collaborator

Couldn't figure out what was causing a syntax error in my build_script. Eventually commented out the entire file and still had a missing semicolon at line 11 haha

Some hopefully relevant excerpt from my build.ninja:

rule build_script
  command = ${ocamlc} unix.cma ${linked_internals} ${refmt} -open Bsb_internals -o ${out} ${impl} ${in}
  description = ^[[34mBuilding^[[39m ^[[2m${out}^[[22m
build /Users/schmave/Documents/git/testuv/lib/bs/native/build_script.exe : build_script  /Users/schmave/Documents/git/testuv/lib/bs/native/build_script.re ||  src/Example.mlast.d src/Http.mlast.d
  linked_internals = $linked_internals -I /Users/schmave/Documents/git/testuv/node_modules/bs-platform/lib /Users/schmave/Documents/git/testuv/node_modules/bs
  refmt = -pp "/Users/schmave/Documents/git/testuv/node_modules/bs-platform/lib/refmt.exe --print binary"
  impl = -impl
rule run_build_script
  command = /Users/schmave/Documents/git/testuv/lib/bs/native/build_script.exe /Users/schmave/Documents/git/testuv/node_modules/bs-platform/vendor /Users/schm
  description = ^[[32mRunning^[[39m ^[[2m${out}^[[22m
build run_build_script : run_build_script  ||  /Users/schmave/Documents/git/testuv/lib/bs/native/build_script.exe

As far as I can remember how to read ninja files, this seems to have the required dependency on /Users/schmave/Documents/git/testuv/lib/bs/native/build_script.re so I'm not sure what's up (probably what's up is my lack of ability to read ninja files).

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

No branches or pull requests

1 participant