Skip to content

Commit

Permalink
don't build disable adi projects
Browse files Browse the repository at this point in the history
  • Loading branch information
coolo committed Jul 27, 2015
1 parent 1253661 commit 7df8a13
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion osclib/stagingapi.py
Expand Up @@ -933,7 +933,10 @@ def build_switch_staging_project(self, target_project):
for request in meta['requests']:
staged_requests.append(request['id'])
target_flag = 'disable'
if not self.crings or self.check_ring_packages(target_project, staged_requests):
# for adi projects we always build
if self.is_adi_project(target_project):
target_flag = 'enable'
elif not self.crings or self.check_ring_packages(target_project, staged_requests):
target_flag = 'enable'
self.build_switch_prj(target_project, target_flag)

Expand Down

0 comments on commit 7df8a13

Please sign in to comment.