rajveermalviya / tsukuru

build tool for Go apps targeting android and web
Apache License 2.0
8 stars 2 forks source link
android apk app-bundle build-tool go golang wasm

tsukuru: build more than just a binary

Tsukuru is a cli tool that can build and run apk and appbundle for deploying Go apps on android platforms, and wasm for web targets.

~ go install github.com/rajveermalviya/tsukuru/cmd/tsukuru@latest

~ tsukuru -help

Usage of tsukuru:

        tsukuru build {apk, appbundle, wasm} [-options] <path to main package>

        tsukuru run {apk, wasm} [-options] <path to main package>

        tsukuru checkin deps [-options] <path to main package>

Run 'tsukuru [command] [subcommand] -help' for details

android backends

tsukuru currently has two backends for android build system.

tsukurufile (experimental)

tsukurufile can be used to specify android dependencies for a go package

tsukuru v1alpha

android (
    "androidx.games:games-activity:1.2.1"
)

tsukuru walks through each imported package's directory and tries to find a tsukurufile, then it deduplicates any duplicate dependencies between different tsukurufile's (currently doesn't do any version management), then it adds the unique list of dependencies to your ./android/app/build.gradle file.