Documentation ¶
Index ¶
- type BowerBuilder
- func (builder *BowerBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)
- func (builder *BowerBuilder) Build(m module.Module, force bool) error
- func (builder *BowerBuilder) DiscoverModules(dir string) ([]module.Config, error)
- func (builder *BowerBuilder) Initialize() error
- func (builder *BowerBuilder) IsBuilt(m module.Module, allowUnresolved bool) (bool, error)
- func (builder *BowerBuilder) IsModule(target string) (bool, error)
- type Configuration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BowerBuilder ¶
BowerBuilder implements Builder for Bower
func (*BowerBuilder) Analyze ¶
func (builder *BowerBuilder) Analyze(m module.Module, allowUnresolved bool) ([]module.Dependency, error)
Analyze reads the output of `bower ls --json` TODO: fall back to old method of reading `bower_components/*/.bower.json`s?
func (*BowerBuilder) Build ¶
func (builder *BowerBuilder) Build(m module.Module, force bool) error
Build runs `bower install --production` and cleans with `rm -rf bower_components`
func (*BowerBuilder) DiscoverModules ¶
func (builder *BowerBuilder) DiscoverModules(dir string) ([]module.Config, error)
DiscoverModules finds any bower.json modules not in node_modules or bower_components folders
func (*BowerBuilder) Initialize ¶
func (builder *BowerBuilder) Initialize() error
Initialize collects metadata on Node and Bower binaries
type Configuration ¶
Click to show internal directories.
Click to hide internal directories.