소스 검색

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):