lib/tasks/add_assets.rake in frontend-generators-0.0.1 vs lib/tasks/add_assets.rake in frontend-generators-0.0.2
- old
+ new
@@ -1,13 +1,27 @@
namespace :add_assets do
desc "Add Bootstrap assets to your project"
task :bootstrap do
- FrontendGenerators::Bootstrap.new.add_assets
+ copier = FrontendGenerators::AssetsCopier.new("assets/bootstrap/")
+ copier.copy_assets
end
desc "Add Font-Awesome assets to your project"
task :font_awesome do
- FrontendGenerators::FontAwesome.new.add_assets
+ copier = FrontendGenerators::AssetsCopier.new("assets/font_awesome/")
+ copier.copy_assets
+ end
+
+ desc "Add stylish_portfolio to your project"
+ task :stylish_portfolio do
+ copier = FrontendGenerators::AssetsCopier.new("assets/stylish_portfolio/")
+ copier.copy_assets
+ end
+
+ desc "Add Start Bootstrap Creative to your project"
+ task :creative do
+ copier = FrontendGenerators::AssetsCopier.new("assets/creative/")
+ copier.copy_assets
end
end