-
Notifications
You must be signed in to change notification settings - Fork 33
Multiple args #49
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
Multiple args #49
Conversation
CatarinaGamboa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Give an explanation of why this change is necessary and add an example to the test suite that uses this feature - we want to check if it is working properly moving forward.
After merging #46 rebase so that the files here are only the relevant ones for this PR
| // String allPath = "C://Regen/test-projects/src/Main.java"; | ||
| // In eclipse only needed this:"../liquidjava-example/src/main/java/" | ||
| // In VSCode needs: | ||
| // "../liquidjava/liquidjava-umbrella/liquidjava-example/src/main/java/liquidjava/test/project"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add some indications of how to use the this if no args are provided
if (args.length == 0) {
System.out.println("Usage: java MyProgram <arg1> <arg2> [optional_arg3]");
System.out.println(" arg1: Description of first argument");
System.out.println(" arg2: Description of second argument");
System.out.println(" optional_arg3: Description of optional third argument");
return;
}|
|
||
| public static ErrorEmitter launch(String file) { | ||
| System.out.println("Running LiquidJava on: " + file); | ||
| public static ErrorEmitter launch(String... files) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And lets also add javadoc to this one, explaining what these files are
|
@rodrigomilisse are you still planning on making changes before we merge? |
|
This change gives users more flexibility to verify multiple programs at the same time. |
3f07c62 to
9d3344e
Compare
Commit includes changes from
readme/fixandghost-booleanbranch because of a rebasing mistake, These changes should be ignored.Issues: #47 #48