mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
parent
8ecb9f37be
commit
23c147dde7
2 changed files with 2 additions and 3 deletions
3
Rakefile
3
Rakefile
|
@ -3,6 +3,7 @@
|
||||||
require 'bundler/setup'
|
require 'bundler/setup'
|
||||||
require 'thor'
|
require 'thor'
|
||||||
|
|
||||||
|
Bundler.require :default
|
||||||
$LOAD_PATH.unshift 'lib'
|
$LOAD_PATH.unshift 'lib'
|
||||||
|
|
||||||
task :default do
|
task :default do
|
||||||
|
@ -13,8 +14,6 @@ end
|
||||||
namespace :assets do
|
namespace :assets do
|
||||||
desc 'Compile all assets'
|
desc 'Compile all assets'
|
||||||
task :precompile do
|
task :precompile do
|
||||||
Bundler.require
|
|
||||||
|
|
||||||
load 'tasks/docs.thor'
|
load 'tasks/docs.thor'
|
||||||
DocsCLI.new.prepare_deploy
|
DocsCLI.new.prepare_deploy
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
require 'bundler/setup'
|
require 'bundler/setup'
|
||||||
Bundler.require :docs
|
Bundler.require :default, :docs
|
||||||
|
|
||||||
require 'active_support'
|
require 'active_support'
|
||||||
require 'active_support/core_ext'
|
require 'active_support/core_ext'
|
||||||
|
|
Loading…
Reference in a new issue