Sha256: bcf8ec3eeabd5fd1520a6af6c5c7855cc6aa13f6d5c7e3c1d68046bb5518eef4
Contents?: true
Size: 930 Bytes
Versions: 65
Compression:
Stored size: 930 Bytes
Contents
require "spec_helper" module SC::BuildSpecHelpers def std_before @project = temp_project :real_world @target = @project.target_for :sproutcore @buildfile = @target.buildfile @manifest = @target.manifest_for(:language => :fr) @target.prepare! # make sure its ready for the manifest... @manifest.build! # get a basic manifest good to go... end def std_after @project.cleanup end def run_task(entry=nil, dst_path=nil) entry ||= @entry @buildfile.invoke @task_name, :entry => entry, :manifest => @manifest, :target => @target, :config => @target.config, :project => @project, :src_path => @src_path || entry.source_path, :src_paths => @src_path.nil? ? entry.source_paths : [@src_path], :dst_path => dst_path || @dst_path || entry.build_path end def entry_for(filename) @manifest.entry_for filename, :hidden => true end end
Version data entries
65 entries across 65 versions & 1 rubygems