About Cake.Bower

Cake.Bower

Information

Build Status

Branch Status
Master Build status
Dev Build status

Nuget

NuGet

Licence

License

Usage

Build the Cake.Bower.dll then use as follows

    #addin "Cake.Bower"

    Task("Bower")
        .Does(() => {
            // bower install using bower.json
            Bower.Install();

            // bower install package and save
            Bower.Install("jquery", s => s.WithSave());

            // bower install in different directory
            Bower.Install(s => s.UseWorkingDirectory("./sub-dir-with-bower.json/"));
        });

Scope

Cake.Bower currently supports the following bower commands:

  • bower cache
  • bower help
  • bower home
  • bower info
  • bower install
  • bower link
  • bower list
  • bower login
  • bower prune

Bower is officially deprecated, however my current build workflow requires it so I created the plugin to support that workflow. Other commands will get added as and when I get time, but pull requests are welcome.

Thanks

Big thanks to everyone who has worked on Cake - it's a great tool The Cake.Yarn repo provided me with the template for getting started with this, so a big thanks to them or I'd still be scratching my head.