Sha256: 873a8687247c3a2e1675a8dd7e7ac39118139a7fe1ce956c54ec356f2699c100

Contents?: true

Size: 1.27 KB

Versions: 18

Compression:

Stored size: 1.27 KB

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

    desc "Install Bootstrap"
    task bootstrap: "css:install:shared" do
      system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/bootstrap/install.rb",  __dir__)}"
    end

    desc "Install Bulma"
    task bulma: "css:install:shared" do
      system "#{RbConfig.ruby} ./bin/rails app:template LOCATION=#{File.expand_path("../../install/bulma/install.rb",  __dir__)}"
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
cssbundling-rails-1.3.3 lib/tasks/cssbundling/install.rake
cssbundling-rails-1.3.2 lib/tasks/cssbundling/install.rake
cssbundling-rails-1.3.1 lib/tasks/cssbundling/install.rake
cssbundling-rails-1.3.0 lib/tasks/cssbundling/install.rake
cssbundling-rails-1.2.0 lib/tasks/cssbundling/install.rake
cssbundling-rails-1.1.2 lib/tasks/cssbundling/install.rake
cssbundling-rails-1.1.1 lib/tasks/cssbundling/install.rake
cssbundling-rails-1.1.0 lib/tasks/cssbundling/install.rake
cssbundling-rails-1.0.0 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.8 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.7 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.6 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.5 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.4 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.3 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.2 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.1 lib/tasks/cssbundling/install.rake
cssbundling-rails-0.2.0 lib/tasks/cssbundling/install.rake