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

Improve entry point detection #18

Open
MaulingMonkey opened this issue Jan 11, 2020 · 0 comments
Open

Improve entry point detection #18

MaulingMonkey opened this issue Jan 11, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@MaulingMonkey
Copy link
Owner

I'm just now adding a feature to assume "Main" is the entry point of "Main.java" exists. This is bogus for several reasons - it might not have a main function, despite the name - it might be using a package - there might be multiple ambiguous entry points.

Options:

  • Re-introduce cargo_metabuild dependency, read main from package metadata
  • Introduce non-metabuild exports for build.rs to invoke (e.g. jerk::build_with_entry_point("Main"))
  • Do more parsing automagic
  • ???
@MaulingMonkey MaulingMonkey added the enhancement New feature or request label Jan 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant