Sha256: b81e99a236fd2367c54ff0346dfddd1947614c48f9f12b3fc4bd3068ca5e6f48

Contents?: true

Size: 627 Bytes

Versions: 14

Compression:

Stored size: 627 Bytes

Contents

teapot_version "1.0"

$log = []

define_target "A" do |target|
	target.build do
		$log << :a_enter
		run! "sleep 1"
		$log << :a_exit
	end
	
	target.provides "Teapot/A"
end

define_target "B" do |target|
	target.build do
		$log << :b_enter
		run! "sleep 1"
		$log << :b_exit
	end
	
	target.provides "Teapot/B"
end

define_target "C" do |target|
	target.build do
		$log << :c_enter
		# This should not execute until A and B have completed.
		run! "sleep 1"
		$log << :c_exit
	end
	
	target.depends "Teapot/A"
	target.depends "Teapot/B"
	
	target.provides "Teapot/C"
end

define_configuration "wait_spec" do |configuration|
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
teapot-1.3.1 spec/teapot/wait_spec/teapot.rb
teapot-1.3.0 spec/teapot/wait_spec/teapot.rb
teapot-1.2.6 spec/teapot/wait_spec/teapot.rb
teapot-1.2.5 spec/teapot/wait_spec/teapot.rb
teapot-1.2.4 spec/teapot/wait_spec/teapot.rb
teapot-1.2.3 spec/teapot/wait_spec/teapot.rb
teapot-1.2.2 spec/teapot/wait_spec/teapot.rb
teapot-1.2.1 spec/teapot/wait_spec/teapot.rb
teapot-1.2.0 spec/teapot/wait_spec/teapot.rb
teapot-1.1.2 spec/teapot/wait_spec/teapot.rb
teapot-1.1.1 spec/teapot/wait_spec/teapot.rb
teapot-1.1.0 spec/teapot/wait_spec/teapot.rb
teapot-1.0.3 spec/teapot/wait_spec/teapot.rb
teapot-1.0.2 spec/teapot/wait_spec/teapot.rb