Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version string
Version is the current Buffalo version. It is set here by the cmd package. This is due to circular dependencies
Functions ¶
func DepEnsure ¶
DepEnsure runs `dep ensure -v` to make sure that any newly changed imports are added to dep.
func DeprecrationsCheck ¶
DeprecrationsCheck will either log, or fix, deprecated items in the application
func PackageJSONCheck ¶
PackageJSONCheck will compare the current default Buffalo package.json against the applications package.json. If they are different you have the option to overwrite the existing package.json file with the new one.
func WebpackCheck ¶
WebpackCheck will compare the current default Buffalo webpack.config.js against the applications webpack.config.js. If they are different you have the option to overwrite the existing webpack.config.js file with the new one.
Types ¶
type ImportConverter ¶
ImportConverter will changes imports from a -> b
func (ImportConverter) Process ¶
func (c ImportConverter) Process(r *Runner) error
Process will walk all the .go files in an application, excluding ./vendor. It will then attempt to convert any old import paths to any new import paths used by this version Buffalo.