Skip to content

QiBaobin/android-project-build-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development

setup development enviroment if need

nix develop

change code

build or install to one directory

zig build -Doptimize=ReleaseSafe -p ~/bin

or using nix

nix build && cp result/bin/abt ~/bin
# or
nix profile install .

# directly run
nix run github:QiBaobin/android-project-build-tool -- --help

Usages

Commands it supports

Usage: abt [options] [--] [gradle command]

Options:

  -s, --since-commit             Only select projects changed since given commit in this repo
  -i, --include                  Include projects under given path
  -e, --regexp                   A project is selected if its name matches given pattern
  -v, --invert-match             A project is NOT selected if its name matches given pattern
  -f, --filter                   A project is selected if the given shell command pass in its directory
  -c, --settings-file            The gradle settings file will be generated and used
  --threshold                    The max number of project can run at one time, projects more than it will be sepearted into many run
  --max-depth                    Descend at most n directory levels
  -h, --help                     Print command-specific usage

Environments:

 GRADLE_CMD                      The gradel command to run for building, you can give args here too 

Examples

./abt build # build all changed projects comapring with remote branch

./abt -e 'core$' build # build all projects with core as name suffix, even they are not changed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages