瀏覽代碼

require fpm on OS X for release builds only

Ashish Kulkarni 8 年之前
父節點
當前提交
4ea4e2f34d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/build.py

+ 1 - 1
scripts/build.py

@@ -974,7 +974,7 @@ def check_osx(config):
     if not get_output('xcode-select', '--print-path'):
         error('Xcode is not installed, aborting.')
 
-    if not get_output('which', 'fpm'):
+    if not config.endswith('-dbg') and not get_output('which', 'fpm'):
         error('Please install fpm by running "sudo gem install fpm --no-ri --no-rdoc"')
 
 def build_osx(config, basedir):