koterba / jargo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installation

  1. 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

  1. Clone repo and cross compile source code using GOOS=linux GOARCH=arm64 go build .

  1. move binary to swiftbot if you are cross compiling
  2. run chmod +x jargo to make the binary executable
  3. run sudo mv jargo /usr/local/bin to move binary to PATH

Use

  1. jargo new <name> to create a new project called
  2. jargo 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.

Disclaimer

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.

About


Languages

Language:Go 100.0%