73 end |
73 end |
74 end), |
74 end), |
75 :update => (Proc.new do | pkg | |
75 :update => (Proc.new do | pkg | |
76 if (File.exists? BUILD_DIR / 'stx' / 'stc' / '.hg' / 'hgrc') then |
76 if (File.exists? BUILD_DIR / 'stx' / 'stc' / '.hg' / 'hgrc') then |
77 update pkg.repository, 'stx/stc', :branch => pkg.branch, :revision => pkg.revision |
77 update pkg.repository, 'stx/stc', :branch => pkg.branch, :revision => pkg.revision |
78 else |
78 elsif not jenkins? |
79 download_binary_component('stc', BUILD_DIR / 'stx') |
79 download_binary_component('stc', BUILD_DIR / 'stx') |
80 end |
80 end |
81 end) |
81 end) |
82 |
82 |
83 package "stx:librun", :repository => :'jv-branch:private', :branch => 'jv', |
83 package "stx:librun", :repository => :'jv-branch:private', :branch => 'jv', |
84 :checkout => (Proc.new do | pkg | |
84 :checkout => (Proc.new do | pkg | |
85 # Download pre-compiled binary if user has no access to source code |
85 # Download pre-compiled binary if user has no access to source code |
86 if Rake::Stx::Configuration::Repository::find(pkg.repository) then |
86 if Rake::Stx::Configuration::Repository::find(pkg.repository) then |
87 checkout pkg.repository, 'stx/librun', :branch => pkg.branch, :revision => pkg.revision |
87 checkout pkg.repository, 'stx/librun', :branch => pkg.branch, :revision => pkg.revision |
88 else |
88 else |
89 download_binary_component('librun', BUILD_DIR / 'stx') |
89 download_binary_component('librun', BUILD_DIR / 'stx') |
90 end |
90 end |
91 end), |
91 end), |
92 :update => (Proc.new do | pkg | |
92 :update => (Proc.new do | pkg | |
93 if (File.exists? BUILD_DIR / 'stx' / 'librun' / '.hg' / 'hgrc') then |
93 if (File.exists? BUILD_DIR / 'stx' / 'librun' / '.hg' / 'hgrc') then |
94 update pkg.repository, 'stx/stc', :branch => pkg.branch, :revision => pkg.revision |
94 update pkg.repository, 'stx/stc', :branch => pkg.branch, :revision => pkg.revision |
95 else |
95 elsif not jenkins? |
96 download_binary_component('librun', BUILD_DIR / 'stx') |
96 download_binary_component('librun', BUILD_DIR / 'stx') |
97 end |
97 end |
98 end) |
98 end) |
99 |
99 |
100 # FORKED libraries |
100 # FORKED libraries |