Skip to content

Commit

Permalink
splitted up main exectuable, reworked upload-remotes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas0610 committed Aug 8, 2017
1 parent 233559a commit 5af8e7b
Show file tree
Hide file tree
Showing 13 changed files with 985 additions and 757 deletions.
111 changes: 67 additions & 44 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,44 +1,67 @@
AABS
==========
Automated Android Build Script
----------

Getting started
==========
Download the minimal aabs-autorun script from GitHub

git clone https://github.com/TeamNexus/aabs ./aabs/
cp ./aabs/aabs.config.php ./aabs.config.php
cp ./aabs/aabs.build.php ./aabs.build.php
chmod +x ./aabs/aabs

If you want to, you can edit the configs and build-operations
to your needs. When you are finished, run "./aabs/aabs" and
all devices and models available on the TeamNexus-repo will
be built.

Command Line-Options
==========

-d|--devices List of devices which should be built, seperated by a single space. Default: * to build all devices
-r|--roms List of ROMs which should be built, seperated by a single space. Default: * to build all ROMs
-S|--skip-sync Flag, which tells the build-system to skip "repo sync". Default: false
-U|--skip-upload Flag, which tells the build-system to skip the build-uploads. Default: false

License
==========
Automated Android Build Script - Simple and automated Android Build-Script
Copyright (C) 2017 Lukas Berger

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
AABS
==========
Automated Android Build Script
----------

Dependencies
==========
Minimal requirements: (Sync and build)

* System: bash, cd, cp, mkdir, rm, unzip, zip
* System: make, repo
* PHP 5.6
* PHP: Enabled `system` and `shell_exec`

Recommended requirements: (Sync, build and patch)

* **Minimal requirements: (Sync and build) +**
* PHP: pcre-extension

Recommended requirements: (Sync, build, patch and upload)

* **Recommended requirements: (Sync, build and patch) +**
* System: megacmd (https://mega.nz/cmd)
* PHP: ftp-extension (with SSL-support)
* PHP: sftp-extension

Getting started
==========
Download AABS from the latest sources, copy the configuration
and set correct permissions for the main executable.

git clone https://github.com/TeamNexus/aabs ./aabs/
cp ./aabs/aabs.config.php ./aabs.config.php
chmod +x ./aabs/aabs

If you want to, you can edit the configs and build-operations
to your needs. When you are finished, run "./aabs/aabs" and
all devices and models available on the TeamNexus-repo will
be built.

Command Line-Options
==========

-s, --skip-sync No synchronization of ROM-sources
-b, --skip-build Skips building the ROM
-u, --skip-patch Don't run let AABS-patcher run over the build
-u, --skip-upload Don't upload the ROM
-d, --devices Devices which should be built by AABS (Comma-separated, Have to be defined in aabs.build.php)
-r, --roms ROMS which should be built by AABS (Comma-separated, Have to be defined in aabs.build.php)

License
==========
Automated Android Build Script - Simple and automated Android Build-Script
Copyright (C) 2017 Lukas Berger

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Loading

0 comments on commit 5af8e7b

Please sign in to comment.