- Run this command on the swiftbot/rpi to download the binary
wget --content-disposition https://github.com/koterba/jargo/releases/download/v0.1/jargo
OR
- Clone repo and cross compile source code using
GOOS=linux GOARCH=arm64 go build .
- move binary to swiftbot if you are cross compiling
- run
chmod +x jargo
to make the binary executable - run
sudo mv jargo /usr/local/bin
to move binary to PATH
jargo new <name>
to create a new project calledjargo run
to run the project, once in the directory
if you want to include a java file, drag it into the src
dir.
if you want to include a jar file, drag it into the lib
dir.
Main.java and Test.java are placeholder example files in the src directory, same goes for the Example.jar placeholder. I recommend deleting them all except Main.java as you need it as an entrypoint.