(spec, quiet=False)
return postbuilds
Returns the list of postbuilds explicitly defined on |spec|, in a form
  executable by a shell.
Returns the list of postbuilds explicitly defined on |spec|, in a form
  executable by a shell.
Returns the list of postbuilds explicitly defined on |spec| in a form executable by a shell .
def GetSpecPostbuildCommands(spec, quiet=False):
  """Returns the list of postbuilds explicitly defined on |spec|, in a form
  executable by a shell."""
  postbuilds = []
  for postbuild in spec.get('postbuilds', []):
    if not quiet:
      postbuilds.append('echo POSTBUILD\\(%s\\) %s' % (
            spec['target_name'], postbuild['postbuild_name']))
    postbuilds.append(gyp.common.EncodePOSIXShellList(postbuild['action']))
  return postbuilds
def GetSpecPostbuildCommands ( spec , quiet = False ) : postbuilds = [ ] for postbuild in spec . get ( 'postbuilds' , [ ] ) : if not quiet : postbuilds . append ( 'echo POSTBUILD\\(%s\\) %s' % ( spec [ 'target_name' ] , postbuild [ 'postbuild_name' ] ) ) postbuilds . append ( gyp . common . EncodePOSIXShellList ( postbuild [ 'action' ] ) ) return postbuilds