/** * Specify folders to exclude from the rsync * For example, you could exclude assets. */ static function set_excluded_folders($folders) { self::$excluded_folders = $folders; }
/** * Set the targets to publish to. * @param $targets An array of targets to publish to. These can either be local file names, or scp-style targets, in the form "user@server:path" */ static function set_targets($targets) { self::$targets = $targets; }