buildr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lacton <lac...@users.sourceforge.net>
Subject Re: svn commit: r707477 - in /incubator/buildr/trunk: CHANGELOG lib/buildr/packaging/artifact.rb spec/core/compile_spec.rb spec/packaging/artifact_spec.rb
Date Thu, 23 Oct 2008 21:22:21 GMT
You may have noticed that I changed compile_spec after adding the
'sources' task for BUILDR-164.

Buildr (rake) interpreted "compile.from('sources')" as a dependency to
the new 'sources' task instead of the 'sources' subdirectory.

Any better idea?

Lacton

> Modified: incubator/buildr/trunk/spec/core/compile_spec.rb
> URL: http://svn.apache.org/viewvc/incubator/buildr/trunk/spec/core/compile_spec.rb?rev=707477&r1=707476&r2=707477&view=diff
> ==============================================================================
> --- incubator/buildr/trunk/spec/core/compile_spec.rb (original)
> +++ incubator/buildr/trunk/spec/core/compile_spec.rb Thu Oct 23 14:17:25 2008
> @@ -379,7 +379,7 @@
>   it 'should complain if source directories and no compiler selected' do
>     mkpath 'sources'
>     define 'bar' do
> -      lambda { compile.from('sources').invoke }.should raise_error(RuntimeError, /no
compiler selected/i)
> +      lambda { compile.from(_('sources')).invoke }.should raise_error(RuntimeError,
/no compiler selected/i)
>     end
>   end
>  end

Mime
View raw message