https://github.com/agateau/devo-batchbuild
Batchbuild tool using devo
https://github.com/agateau/devo-batchbuild
Last synced: 9 months ago
JSON representation
Batchbuild tool using devo
- Host: GitHub
- URL: https://github.com/agateau/devo-batchbuild
- Owner: agateau
- Created: 2013-07-15T09:56:04.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-14T09:18:59.000Z (over 11 years ago)
- Last Synced: 2025-02-13T19:49:54.480Z (11 months ago)
- Language: Python
- Size: 238 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Format of devo-batchbuild yaml files
A devo-batchbuild yaml file is made of two main sections: "global" and "modules".
## Global section
Syntax:
global:
:
:
Available options:
- configure-options
- build-options
- repo-type
## Modules section
Syntax:
modules:
- :
:
:
- :
:
Available options:
- name: Name of module, code for the module will be kept in a dir with this name
within `$DEVO_SOURCE_BASE_DIR`.
- repo-type: Can be "git", "svn" or "kdegit".
- repo-url: Url of the repository.
- branch: Branch to checkout (git only).
- configure: Command to run to configure the source. Defaults to "devo-cmake".
- configure-options: Options to pass to the `configure` command.
- configure-extra-options: Options to pass to the `configure` command. Those can be defined on a module basis to extend `configure-options` instead of replacing it.
- build: Command to run to build the source. Defaults to "make".
- build-options: Options to pass to the `build` command.
- build-extra-options: Options to pass to the `build` command. Those can be defined on a module basis to extend `build-options` instead of replacing it.
- install: Command to run to install the compile code. Defaults to "make install/fast"
- install-options: Options to pass to the install command.
- install-extra-options: Options to pass to the `install` command. Those can be defined on a module basis to extend `install-options` instead of replacing it.
`name` is the only mandatory option.
Default for all of the module options can be overridden by specifying them in the
global section. Good candidates are `configure-options`, `build-options` or
`repo-type`.
Commands listed in `configure`, `build` and `install` can use the
`DEVO_SOURCE_DIR` and `DEVO_BUILD_DIR` environment variables. When the command
is running those variables respectively contain the name of the source dir and
build dir for the component. That is, for a component named `foo`, variables
are set like this:
DEVO_SOURCE_DIR=$DEVO_SOURCE_BASE_DIR/foo
DEVO_BUILD_DIR=$DEVO_BUILD_BASE_DIR/foo
# `_base.yaml`
You may want to define a `_base.yaml` file to define default values for all
.yaml files. This is quite handy for example to define the `build-options`
option.