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

*: Support libraries in cli runner #179

Merged
merged 1 commit into from
Jul 20, 2017
Merged

*: Support libraries in cli runner #179

merged 1 commit into from
Jul 20, 2017

Conversation

gaocegege
Copy link
Member

@gaocegege gaocegege commented Jul 20, 2017

Close #58

Signed-off-by: Ce Gao ce.gao@outlook.com

Signed-off-by: Ce Gao <ce.gao@outlook.com>
@gaocegege gaocegege merged commit f171609 into master Jul 20, 2017
@gaocegege gaocegege deleted the cli/runner/library branch July 20, 2017 06:55
@gaocegege gaocegege modified the milestone: Evaluation 2 Jul 20, 2017
@jeremydouglass
Copy link
Member

I tested this and it worked with the default PeasyCam example:

java -jar ./try/RLangMode.jar /Users/myusername/git/Processing.R/examples/Libraries/LibraryBasics/LibraryBasics.rpde

Currently the only instructions on how to use the CLI are in compilation.md.

https://github.com/gaocegege/Processing.R/blob/master/raw-docs/devel/compilation.md

Is the Runner included with the release, and if so should use-instructions be included in the top-level documentation?

@gaocegege
Copy link
Member Author

Yeah, it is a good idea. But IMO the runner is not a common way for users. It is just an early way to have a test on Processing.R.

Copy link
Member

@jeremydouglass jeremydouglass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the Windows path to libraries might be wrong here?

return new File(home + "/sketchbook/libraries");
} else if (Platform.isWindows()) {
String home = System.getProperty("user.home");
return new File(home + "\\Documents\\Processing\\modes");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

modes? Shouldn't this be libraries?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is a typo. Thanks for your review 🤔

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.

None yet

2 participants