[][src]Crate rusty_ci

Re-exports

pub use helper::input;
pub use helper::yes_or_no;
pub use buildsystem::*;

Modules

buildbot
buildsystem
helper

Macros

blue

Write blue text to the console, and then reset color

color_print

This prints a format string with a specific color. The color must be one of the following.

debug

Prints debug message colored blue

error

Prints error message colored red

flush

Flush stdout

green

Write green text to the console, and then reset color

info

Prints info message colored green

red

Write red text to the console, and then reset color

warn

Prints warning message colored yellow

yellow

Write yellow text to the console, and then reset color

Structs

Builder

The Builder struct encapsulates all the operations involved in defining a builder in buildbot. A builder works by giving tasks called steps to workers.

Cmd

This struct is basically identical to the std::process::Command, but when it is executed, it returns the stdout of the process as a string.

File

A no-op struct that allows you to easily manipulate files.

MasterConfig
Scheduler
Worker

This struct holds the information that is used to build the worker buildbot.tac file Each worker has:

Enums

Step

This describes a step executed by a builder in buildbot This is used by the Builder struct to construct the Builder config file