https://github.com/zserge/buckbone
A simple android project generator for the Buck build system
https://github.com/zserge/buckbone
Last synced: about 1 year ago
JSON representation
A simple android project generator for the Buck build system
- Host: GitHub
- URL: https://github.com/zserge/buckbone
- Owner: zserge
- License: mit
- Created: 2015-05-28T07:12:51.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-05-28T07:26:41.000Z (about 11 years ago)
- Last Synced: 2025-03-18T08:21:35.206Z (about 1 year ago)
- Language: Shell
- Size: 137 KB
- Stars: 52
- Watchers: 4
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Buckbone
A simple android project generator for the Buck build system.
## Install
sudo wget https://raw.githubusercontent.com/zserge/buckbone/master/buckbonejava -O /usr/local/bin
sudo chmod +x /usr/local/bin/buckbonejava
## Usage
buckbone com.example.myapp /path/to/app
cd /path/to/app
buck build app
Sources would be localed at /path/to/app/java/com/example/myapp.
Android resources would be located at /path/to/app/res/com/example/myapp/res.
## Generated java project structure
# Top-level Buck configuration
./.buckconfig
# Application configuration
./apps/com.example.buck/BUCK
./apps/com.example.buck/debug.keystore
./apps/com.example.buck/debug.keystore.properties
./apps/com.example.buck/AndroidManifest.xml
./apps/DEFS
# Java code
./java/com/example/buck/BUCK
./java/com/example/buck/MainActivity.java
# Android resources and assets
./res
./res/AndroidManifest.xml
./res/com/example/buck/BUCK
./res/com/example/buck/res/values/strings.xml
./res/com/example/buck/assets
## Kotlin
There is also a buckbonekotlin to generate the Buck skeleton for the android
app written in Kotlin, but it's experimental.
Usage:
./buckbonekotlin com.example.myapp /path/to/app /path/to/kotlinc