Rakefile in milligram-1.3.0.0 vs Rakefile in milligram-1.4.1.0

- old
+ new

@@ -1,12 +1,14 @@ -require "bundler/gem_tasks" -require "rspec/core/rake_task" -require "milligram/version" +# frozen_string_literal: true +require 'bundler/gem_tasks' +require 'rspec/core/rake_task' +require 'milligram/version' + RSpec::Core::RakeTask.new(:spec) -task :default => :spec +task default: :spec namespace :milligram do namespace :assets do desc 'Update Milligram\'s assets.' task update: :clean do @@ -18,10 +20,12 @@ File.open('vendor/assets/stylesheets/milligram.scss', 'w') do |f| f.write('@import "milligram/milligram.sass";') end - puts "\n=*=*=*=*=*=*=*=*=*=*\n=* ASSETS UPDATED! *=\n=*=*=*=*=*=*=*=*=*=*\n" + puts "\n================================" + puts "* ASSETS UPDATED to #{version}! 🔧 *" + puts "================================" end desc 'Remove previous Milligram assets.' task :clean do sh 'rm -rf vendor'