Sha256: ba0e832cd305ba49513a22f390b2c2999ea08eb686e131bf09076be2e57c3d9c
Contents?: true
Size: 880 Bytes
Versions: 4
Compression:
Stored size: 880 Bytes
Contents
namespace :css do namespace :install do desc "Install shared elements for all bundlers" task :shared do system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/install.rb", __dir__)}" end desc "Install Tailwind" task tailwind: "css:install:shared" do system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/tailwind/install.rb", __dir__)}" end desc "Install PostCSS" task postcss: "css:install:shared" do system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/postcss/install.rb", __dir__)}" end desc "Install Sass" task sass: "css:install:shared" do system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/sass/install.rb", __dir__)}" end end end
Version data entries
4 entries across 4 versions & 1 rubygems