Sha256: 23a67d5479cd751a7531375744584313036b664571304c1f6902983180ece867
Contents?: true
Size: 1.17 KB
Versions: 3
Compression:
Stored size: 1.17 KB
Contents
# frozen_string_literal: true require 'rubygems' require 'rake' require 'rake/testtask' require 'rspec/core/rake_task' require 'spree/testing_support/dummy_app/rake_tasks' require 'solidus_admin/testing_support/dummy_app/rake_tasks' require 'bundler/gem_tasks' namespace :tailwindcss do tailwindcss_command = [ "tailwindcss", "--content", "#{__dir__}/{app/helpers,app/views,app/components,app/assets/javascripts,spec/components/previews}/**/*", "--config", "#{__dir__}/config/tailwind.config.js", "--input", "#{__dir__}/app/assets/stylesheets/solidus_admin/application.tailwind.css", "--output", "#{__dir__}/app/assets/builds/solidus_admin/tailwind.css", ] desc 'Build Tailwind CSS' task :build do sh tailwindcss_command.shelljoin end desc 'Watch Tailwind CSS' task :watch do sh (tailwindcss_command + ['--watch']).shelljoin end end task build: 'tailwindcss:build' RSpec::Core::RakeTask.new task default: :spec DummyApp::RakeTasks.new( gem_root: File.expand_path(__dir__), lib_name: 'solidus_admin' ) task test_app: 'db:reset' # Namespace release tags, e.g. 'solidus_admin/v1.2.3' Bundler::GemHelper.tag_prefix = 'solidus_admin/'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
solidus_admin-0.3.2 | Rakefile |
solidus_admin-0.3.1 | Rakefile |
solidus_admin-0.3.0 | Rakefile |