-
-
Notifications
You must be signed in to change notification settings - Fork 72
Update BUILD.md with directions for CLI build #1160
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
base: main
Are you sure you want to change the base?
Conversation
Add directions for building Processing from the command line (no IDE) on Ubuntu 24.04.
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.
Hi @jd-boyd Thank you for the suggestion! I agree that we should add instructions to build from source. I added some comments on what could be improved
### No editor, Ubuntu 24.04 | ||
|
||
``` | ||
sudo apt install openjdk-17-jdk openjdk-17-source |
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.
We use the Terumin 17 JDK distribution
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.
Will update to that then.
sudo apt install openjdk-17-jdk openjdk-17-source | ||
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/ | ||
./gradlew build | ||
./gradlew tets |
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.
Typo?
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.
Yes.
@@ -62,7 +62,15 @@ If your main concern is with the `Core` you don't need to build and start the wh | |||
|
|||
## Other editors | |||
|
|||
TBD | |||
### No editor, Ubuntu 24.04 |
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.
This title can be more general? I think this approach would work more distros than just Ubuntu 24.04 correct?
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.
It can be more general. As written, it wouldn't work for anything not Debian based, but Temurin seems to prefer being installed by extracting a tarball, so updating the directions to that will make it more general across all linux distros and perhaps macOS.
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64/ | ||
./gradlew build | ||
./gradlew tets | ||
./gradlew package |
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.
I think we should mention that this will create the package in the app/build/compose/binaries
folder, I think we should also mention Processing can launched directly with run
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.
Thank you for those notes, I will add them as well.
Add directions for building Processing from the command line (no IDE) on Ubuntu 24.04.