code: func (b *Bundler) BindData(os, arch string) (err error) {
  	// Reset bind dir
  	if err = b.resetDir(b.pathBindInput); err != nil {
  		err = errors.Wrapf(err, "resetting dir %s failed", b.pathBindInput)
  		return
  	}
  
  	// Provision the vendor
  	if err = b.provisionVendor(os, arch); err != nil {
  		err = errors.Wrap(err, "provisioning the vendor failed")
  		return
  	}
  
  	// Adapt resources
  	if err = b.adaptResources(); err != nil {
  		err = errors.Wrap(err, "adapting resources failed")
  		return
  	}
  
  	// Build bindata config
  	var c = bindata.NewConfig()
  	c.Input = []bindata.InputConfig{{Path: b.pathBindInput, Recursive: true}}
  	c.Output = filepath.Join(b.pathBindOutput, fmt.Sprintf("bind_%s_%s.go", os, arch))
  	c.Package = b.bindPackage
  	c.Prefix = b.pathBindInput
  	c.Tags = fmt.Sprintf("%s,%s", os, arch)
  
  	// Bind data
  	astilog.Debugf("Generating %s", c.Output)
  	err = bindata.Translate(c)
  	return
  }
docs: // BindData binds the data