mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-15 19:23:50 +00:00
Only build Objective-J gem when installing or creating the tools download.
Reviewed by me.
This commit is contained in:
1 parent
7f733fdf34
commit
15dc89fe2f
2 files changed
+8
-2
No files matched your search
@@ -53,7 +53,11 @@ file_d $TOOLS_DOWNLOAD_INSTALLER => [$TOOLS_INSTALLER] do
|
||||
cp($TOOLS_INSTALLER, $TOOLS_DOWNLOAD_INSTALLER)
|
||||
end
|
||||
|
||||
task :tools_download => [$TOOLS_DOWNLOAD_ENV, $TOOLS_DOWNLOAD_EDITORS, $TOOLS_DOWNLOAD_README, $TOOLS_DOWNLOAD_INSTALLER]
|
||||
task :objj_gem do
|
||||
subrake('Tools/Rake', :objj_gem)
|
||||
end
|
||||
|
||||
task :tools_download => [$TOOLS_DOWNLOAD_ENV, $TOOLS_DOWNLOAD_EDITORS, $TOOLS_DOWNLOAD_README, $TOOLS_DOWNLOAD_INSTALLER, :objj_gem]
|
||||
|
||||
task :starter_download => [$STARTER_DOWNLOAD_APPLICATION, $STARTER_DOWNLOAD_README]
|
||||
|
||||
|
||||
+3
-1
@@ -37,9 +37,11 @@ end
|
||||
# Gem::Installer.new(File.join($BUILD_DIR, $CONFIGURATION, 'rake', 'objective-j-0.7.0.gem')).install
|
||||
#end
|
||||
|
||||
task :build => :gem do
|
||||
task :objj_gem do
|
||||
mkdir_p $TOOLS_DOWNLOAD
|
||||
cp(File.join($BUILD_DIR, $CONFIGURATION, 'rake', spec.file_name), File.join($TOOLS_DOWNLOAD, spec.file_name))
|
||||
end
|
||||
|
||||
task :build
|
||||
|
||||
CLOBBER.include(File.join($BUILD_DIR, $CONFIGURATION, 'rake'), File.join($TOOLS_DOWNLOAD, spec.file_name))
|
||||
Reference in new issue
Block a user