コード例 #1
0
    def execute(self, args, cwd):
        # Handle --rebuild
        if args.rebuild:
            if not commandutil.clean_output(cwd):
                return False

        (result, all_target_outputs) = commandutil.run_build(cwd, args)

        print 'result %s, %s outputs' % (result, len(all_target_outputs))
        #print all_target_outputs

        return 0 if result else 1
コード例 #2
0
  def execute(self, args, cwd):
    # Handle --rebuild
    if args.rebuild:
      if not commandutil.clean_output(cwd):
        return False

    (result, all_target_outputs) = commandutil.run_build(cwd, args)

    print 'result %s, %s outputs' % (result, len(all_target_outputs))
    #print all_target_outputs

    return 0 if result else 1
コード例 #3
0
 def execute(self, args, cwd):
     result = commandutil.clean_output(cwd)
     return 0 if result else 1
コード例 #4
0
 def execute(self, args, cwd):
   result = commandutil.clean_output(cwd)
   return 0 if result else 1