-
Notifications
You must be signed in to change notification settings - Fork 3
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
Add function to compile module #7
Labels
Milestone
Comments
lucaswerkmeister
added a commit
that referenced
this issue
Jun 5, 2017
The upcoming function to detect the backend (for #7) will also need it. Includes a test, of course :)
lucaswerkmeister
added a commit
that referenced
this issue
Jun 5, 2017
The heuristic used is “native annotation on an unindented line”, which is somewhat crude, but good enough to ignore native imports (see ceylon-backend-native-imports-test). Part of #7.
lucaswerkmeister
added a commit
that referenced
this issue
Jun 5, 2017
The upcoming function to compile the module (#7) will also need it.
lucaswerkmeister
added a commit
that referenced
this issue
Jun 5, 2017
Necessary because our command names aren’t consistent. Perhaps I’ll open an issue to request a compile-jvm alias if I feel like it, but it feels pretty minor. Part of #7.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
package.ceylon
in the current directory. If not, abort.module.ceylon
is found. (Make sure not to infinite loop when reaching the root directory.)module.ceylon
specifies anative
annotation (a very crude heuristic will do –native *("jvm")
as regex, for instance), remember that, otherwise default to compiling for JVM.src/main/ceylon/
?)ceylon compile
/compile-js
.The text was updated successfully, but these errors were encountered: