frontend-generators 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +2 -0
- data/lib/frontend_generators/version.rb +1 -1
- data/lib/tasks/add_assets.rake +6 -22
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 06b35b113ec1429bd93121503d658b01b7fe8a35
|
4
|
+
data.tar.gz: 8b3d39e235e860830d7811ca9ad392b3900dd6fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 15e92fe6a5e34757fc6408b99aa5f293c5c7c289e6d4da2ac2afaa463a1a27d51129fc282a70cea2c9bc327f75999e8c6698b7ffac465a34f0631c5764a5ed06
|
7
|
+
data.tar.gz: da0a2337d7c58f6e8217042b30e7b77a3680b86b8cf6992f7ac55ebc3cc73ce4a7d2bbfef615cfc40c63d9f8c1d572ae915894a4d55f49a9a8d2e799c452573d
|
data/Rakefile
CHANGED
data/lib/tasks/add_assets.rake
CHANGED
@@ -1,27 +1,11 @@
|
|
1
1
|
namespace :add_assets do
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
desc "Add Font-Awesome assets to your project"
|
10
|
-
task :font_awesome do
|
11
|
-
copier = FrontendGenerators::AssetsCopier.new("assets/font_awesome/")
|
12
|
-
copier.copy_assets
|
13
|
-
end
|
14
|
-
|
15
|
-
desc "Add stylish_portfolio to your project"
|
16
|
-
task :stylish_portfolio do
|
17
|
-
copier = FrontendGenerators::AssetsCopier.new("assets/stylish_portfolio/")
|
18
|
-
copier.copy_assets
|
19
|
-
end
|
20
|
-
|
21
|
-
desc "Add Start Bootstrap Creative to your project"
|
22
|
-
task :creative do
|
23
|
-
copier = FrontendGenerators::AssetsCopier.new("assets/creative/")
|
24
|
-
copier.copy_assets
|
3
|
+
[:bootstrap, :creative, :font_awesome, :freelancer, :stylish_portfolio].each do |asset|
|
4
|
+
desc "Add #{asset} assets to your project"
|
5
|
+
task asset do
|
6
|
+
copier = FrontendGenerators::AssetsCopier.new(asset)
|
7
|
+
copier.copy_assets
|
8
|
+
end
|
25
9
|
end
|
26
10
|
|
27
11
|
end
|