Sha256: a27f272c3e7e241f67477005c136861d67f04b36ccae34b9841a799c14a77057

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

# Build information
- build: <%= name %>
  default: all
  description: Build project <%= name.capitalize %>

# Build properties
- properties:
    name:        <%= name %>
    build:       build
    server:      server.py
    client:      client.py
    zip:         "#{build}/#{name}.zip"
    clean_dirs:  :build
    clean_files: "**/*.pyc"

# Build targets
- target:      check
  description: Check Python script syntax
  script:
  - python.pychecker:
      src:     .
      lenient: true

- target:      server
  depends:     check
  description: Run server
  script:
  - python.python: :server

- target:      client
  description: Run test client
  script:
  - python.python: :client

- target:      zip
  depends:     check
  description: Generate distribution archive
  script:
  - mkdir: :build
  - zip:
      includes: "**/*"
      excludes: ["#{build}*", "**/*.pyc"]
      dest:     :zip

- target:      clean
  description: Clean generated files
  script:
  - rmdir: :clean_dirs
  - rm:    :clean_files

- target: all
  depends: [clean, check, zip]

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bee_python-0.0.4 egg/xmlrpc/build.erb
bee_python-0.0.3 egg/xmlrpc/build.erb
bee_python-0.0.2 egg/xmlrpc/build.erb
bee_python-0.0.1 egg/xmlrpc/build.erb