|
@@ -255,7 +255,7 @@ end
|
|
|
desc 'Update site documentation to GitHub Pages'
|
|
desc 'Update site documentation to GitHub Pages'
|
|
|
task :ci_site_update do
|
|
task :ci_site_update do
|
|
|
# Skip when :ci rake task was skipped
|
|
# Skip when :ci rake task was skipped
|
|
|
- next unless Dir.exists?('../Build')
|
|
|
|
|
|
|
+ next unless File.exist?('../Build/CMakeCache.txt')
|
|
|
# Pull or clone
|
|
# Pull or clone
|
|
|
system 'cd ../doc-Build 2>/dev/null && git pull -q -r || git clone --depth 1 -q https://github.com/urho3d/urho3d.github.io.git ../doc-Build' or abort 'Failed to pull/clone'
|
|
system 'cd ../doc-Build 2>/dev/null && git pull -q -r || git clone --depth 1 -q https://github.com/urho3d/urho3d.github.io.git ../doc-Build' or abort 'Failed to pull/clone'
|
|
|
# Update credits from README.md to about.md
|
|
# Update credits from README.md to about.md
|
|
@@ -336,7 +336,7 @@ end
|
|
|
desc 'Make binary package and upload it to a designated central hosting server'
|
|
desc 'Make binary package and upload it to a designated central hosting server'
|
|
|
task :ci_package_upload do
|
|
task :ci_package_upload do
|
|
|
# Skip when :ci rake task was skipped
|
|
# Skip when :ci rake task was skipped
|
|
|
- next unless Dir.exists?('../Build')
|
|
|
|
|
|
|
+ next unless File.exist?('../Build/CMakeCache.txt')
|
|
|
if ENV['XCODE']
|
|
if ENV['XCODE']
|
|
|
$configuration = 'Release'
|
|
$configuration = 'Release'
|
|
|
$testing = 0
|
|
$testing = 0
|