Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

Commit

Permalink
Remove engine, Railtie, and install task
Browse files Browse the repository at this point in the history
This is an artifact left from the days before the Rails Assets Pipeline. Moving
forward, this option of install will no longer be available and we'll only
support Rails 4.2+.
  • Loading branch information
Tyson Gach authored and whmii committed Feb 3, 2017
1 parent 1218c61 commit 6006f4d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 42 deletions.
20 changes: 2 additions & 18 deletions lib/neat.rb
Original file line number Diff line number Diff line change
@@ -1,20 +1,4 @@
require "sass"
require "neat/generator"

module Neat
if defined?(Rails) && defined?(Rails::Engine)
class Engine < ::Rails::Engine
require 'neat/engine'
end

module Rails
class Railtie < ::Rails::Railtie
rake_tasks do
load "tasks/install.rake"
end
end
end
else
Sass.load_paths << File.expand_path("../../core", __FILE__)
end
end
neat_path = File.expand_path("../../core", __FILE__)
ENV["SASS_PATH"] = File.join([ENV["SASS_PATH"], neat_path].compact)
5 changes: 0 additions & 5 deletions lib/neat/engine.rb

This file was deleted.

19 changes: 0 additions & 19 deletions lib/tasks/install.rake

This file was deleted.

0 comments on commit 6006f4d

Please sign in to comment.