Sha256: f4bd1f152ed2583fdaf73d13d48c89a0fb7d93c54bbd33772a6edd15feb78b20

Contents?: true

Size: 1.58 KB

Versions: 6

Compression:

Stored size: 1.58 KB

Contents

Feature: omnibus build
  Background:
    Given I have an omnibus project named "hamlet"

  Scenario: When the project does not exist
    When I run `omnibus build bacon`

    Then the output should contain:
         """
         I could not find a project named `bacon' in any of the project locations:
         """
    And  the exit status should not be 0

# These scenarios don't work on appveyor due to no heat.exe/candle.exe/light.exe
#  Scenario: When the project has no software definitions
#    When I run `omnibus build hamlet`
#
#    Then it should pass with "[Project: hamlet] I | Building version manifest"
#    And  the file "output/version-manifest.json" should exist
#    And  the file "output/version-manifest.txt" should exist
#    And  the file "output/LICENSE" should exist
#    And  the directory "output/LICENSES" should exist
#
#  Scenario: When the project has a software definition
#    Given a file "config/software/ophelia.rb" with:
#          """
#          name "ophelia"
#          default_version "1.0.0"
#          build do
#            command "echo true > #{install_dir}/blah.txt"
#          end
#          """
#    And   I append to "config/projects/hamlet.rb" with "dependency 'ophelia'"
#
#    When  I run `omnibus build hamlet`
#
#    Then it should pass with "[Builder: ophelia] I | $ echo true"
#    And  the file "output/blah.txt" should contain "true"
#    And  the file "output/version-manifest.json" should exist
#    And  the file "output/version-manifest.txt" should exist
#    And  the file "output/LICENSE" should exist
#    And  the directory "output/LICENSES" should exist

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
omnibus-5.6.6 features/commands/build.feature
omnibus-5.6.1 features/commands/build.feature
omnibus-5.6.0 features/commands/build.feature
omnibus-5.5.0 features/commands/build.feature
omnibus-5.4.0 features/commands/build.feature
omnibus-5.3.0 features/commands/build.feature