-
Notifications
You must be signed in to change notification settings - Fork 96
/
Copy pathinstall.rake
34 lines (28 loc) · 1.15 KB
/
install.rake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
namespace :css do
namespace :install do
desc "Install Tailwind"
task :tailwind do
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/tailwind/install.rb", __dir__)}"
end
desc "Install PostCSS"
task :postcss do
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/postcss/install.rb", __dir__)}"
end
desc "Install Sass"
task :sass do
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/sass/install.rb", __dir__)}"
end
desc "Install Bootstrap"
task :bootstrap do
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/bootstrap/install.rb", __dir__)}"
end
desc "Install Bulma"
task :bulma do
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/bulma/install.rb", __dir__)}"
end
desc "Install UnoCSS"
task :unocss do
system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/unocss/install.rb", __dir__)}"
end
end
end