blob: 29395fa9cf67e331b73d2f19a2d9ccb972cc5319 [file] [log] [blame]
package: infra/tools/flatten_buildbucket_cfg
description: flatten_buildbucket_cfg tool
# Platform agnostic really, but need to pick one platform to build on.
platforms:
- linux-amd64
root: ../..
data:
- dir: infra/tools/flatten_buildbucket_cfg
exclude:
- .*\.pyc
- \.git/.*
- dir: infra/libs/buildbucket
exclude:
- .*\.pyc
- \.git/.*
- dir: infra/libs/protoutil
exclude:
- .*\.pyc
- \.git/.*
# Compiled protos.
- file: infra/init_python_pb2.py
- dir: python_pb2
exclude:
- .*\.pyc
- file: infra/__init__.py
- file: infra/libs/__init__.py
- file: infra/tools/__init__.py
- version_file: CIPD_VERSION.json
copies:
# Copy this to the root of the package so that imports will work and so that
# it's easier to execute the tool without having to go digging in directories.
- src: infra/tools/flatten_buildbucket_cfg/__main__.py
dst: flatten_buildbucket_cfg
# This needs to be along-side the main file.
- src: infra/tools/flatten_buildbucket_cfg/.vpython
dst: .vpython