Skip to content

Utility that builds, extracts, and runs a Gradle project.

License

Notifications You must be signed in to change notification settings

GlitchyByte/grun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grun

Version

This is a Gradle project runner. It builds, unpacks, and runs a Gradle project on the current terminal. Also allows SIGINT (Ctrl+C) to be captured by your application.

Use it!

./grun GRADLE_ROOT MY_PROJECT [ARG1 ARG2 ...]
# For example: my Gradle root is in the "code" directory withing my overall "solution" directory. The project I want to run is "say":
# /solution/
#   /grun
#   /code/
#     /gradlew
#     /say/
./grun code say "Hello, world!"

Get it!

It is highly recommended that you build it yourself on your platform.

If you want a pre-compiled binary for macOS, Windows, or Ubuntu, check the latest release. These are built using GitHub Actions on GitHub Runners.

Build it!

Clone this repo. Then:

./build MinSizeRel clean

Receive your tasty binary!

After building, grun executable is in the code/bin directory.