diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-30 13:29:08 -0500 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-11-30 13:29:08 -0500 |
| commit | 0929719a845897cc8567cf972e07a69a71f0fa6f (patch) | |
| tree | 2b6f69c1d906abb6e0abf8a0f1d51725bc78087d /Rakefile | |
| parent | 01c1947537e4e23ded0c16812a7cd9d49ad88356 (diff) | |
| download | wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.gz wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.tar.bz2 wittle-0929719a845897cc8567cf972e07a69a71f0fa6f.zip | |
Migrate to a full rails app
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 12 |
1 files changed, 5 insertions, 7 deletions
| diff --git a/Rakefile b/Rakefile index 41a438f..e63c405 100644 --- a/Rakefile +++ b/Rakefile | |||
| @@ -1,12 +1,10 @@ | |||
| 1 | require "bundler/setup" | 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, |
| 2 | require "rake/extensiontask" | 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. |
| 3 | |||
| 4 | APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__) | ||
| 5 | load "rails/tasks/engine.rake" | ||
| 6 | 3 | ||
| 7 | load "rails/tasks/statistics.rake" | 4 | require "rake/extensiontask" |
| 5 | require_relative "config/application" | ||
| 8 | 6 | ||
| 9 | require "bundler/gem_tasks" | 7 | Rails.application.load_tasks |
| 10 | 8 | ||
| 11 | Rake::ExtensionTask.new "wittle_generator" do |ext| | 9 | Rake::ExtensionTask.new "wittle_generator" do |ext| |
| 12 | ext.lib_dir = "lib" | 10 | ext.lib_dir = "lib" |
