]> khamidou — GitHub mirrors - electron.git/commitdiff
Fix ci.
authorCheng Zhao <zcbenz@gmail.com>
Sun, 2 Feb 2014 11:58:25 +0000 (19:58 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 2 Feb 2014 11:58:25 +0000 (19:58 +0800)
browser/auto_updater_mac.mm
script/cibuild

index e5bab41bf9c868af42a1b0c9c36cca691868b5af..094b599b1c08fc12394b746f7100a383ed4e5fc8 100644 (file)
@@ -48,8 +48,7 @@ void AutoUpdater::SetFeedURL(const std::string& feed) {
         int state = [stateNumber integerValue];
         if (state == SQRLUpdaterStateCheckingForUpdate) {
           delegate->OnCheckingForUpdate();
-        }
-        else if (state == SQRLUpdaterStateDownloadingUpdate) {
+        } else if (state == SQRLUpdaterStateDownloadingUpdate) {
           delegate->OnUpdateAvailable();
         }
     }];
@@ -79,8 +78,7 @@ void AutoUpdater::CheckForUpdates() {
             base::Time::FromDoubleT(update.releaseDate.timeIntervalSince1970),
             base::SysNSStringToUTF8(update.updateURL.absoluteString),
             base::Bind(RelaunchToInstallUpdate));
-        }
-        else {
+        } else {
           // When the completed event is sent with no update, then we know there
           // is no update available.
           delegate->OnUpdateNotAvailable();
index edabc2df922715d0be4bf7e9c443cbe56275c027..d9e8ceb68924cd7cd3fc5e28166b55436cf5f947 100755 (executable)
@@ -13,6 +13,7 @@ SOURCE_ROOT = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
 def main():
   rm_rf(os.path.join(SOURCE_ROOT, 'out'))
   rm_rf(os.path.join(SOURCE_ROOT, 'node_modules'))
+  rm_rf(os.path.join(SOURCE_ROOT, 'frameworks'))
   rm_rf(os.path.join(SOURCE_ROOT, 'vendor', 'brightray', 'vendor', 'download',
                      'libchromiumcontent'))