mirror of
https://github.com/inspec/inspec
synced 2024-11-25 06:00:29 +00:00
Allow docs Rake task to be run from outside www dir
The docs Rake task requires classes defined in the "shared" Rake tasks file. However, only the www Rakefile includes the "shared" tasks file. Since the "docs" Rake task is what needs it, I'm adding a require there to ensure it works from outside the www directory. Signed-off-by: Adam Leff <adam@leff.co>
This commit is contained in:
parent
e87350da88
commit
24e2ffb7e0
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
|||
require 'erb'
|
||||
require 'ruby-progressbar'
|
||||
require 'fileutils'
|
||||
require_relative './shared'
|
||||
|
||||
PROJECT_DIR = File.join(File.expand_path(File.dirname(__FILE__)), '..').freeze
|
||||
WWW_DIR = File.join(PROJECT_DIR, 'www').freeze
|
||||
|
|
Loading…
Reference in a new issue