mirror of
https://github.com/inspec/inspec
synced 2024-11-10 07:04:15 +00:00
add sanity checks for docs and middleman build
This commit is contained in:
parent
9a816b2b7d
commit
12b69280b1
2 changed files with 6 additions and 0 deletions
|
@ -267,4 +267,7 @@ end
|
|||
desc 'Create all docs in docs/ from source code'
|
||||
task :docs do
|
||||
run_tasks_in_namespace :docs
|
||||
Verify.file('www/source/docs/reference/README.html.md')
|
||||
Verify.file('www/source/docs/reference/cli.html.md')
|
||||
Verify.file('www/source/docs/reference/resources.html.md')
|
||||
end
|
||||
|
|
|
@ -35,6 +35,9 @@ namespace :www do
|
|||
Bundler.with_clean_env {
|
||||
sh('cd www/ && bundle install && bundle exec middleman build')
|
||||
}
|
||||
Verify.file('www/build/index.html')
|
||||
Verify.file('www/build/javascripts/all.js')
|
||||
Verify.file('www/build/stylesheets/site.css')
|
||||
end
|
||||
|
||||
desc 'Assemble the website site from middleman and the tutorial'
|
||||
|
|
Loading…
Reference in a new issue