2012-01-18 16:25:14 -05:00
|
|
|
Then /a theme-classic project structure should exist/ do
|
|
|
|
|
|
|
|
# Basic project structure
|
2011-12-22 23:23:36 -05:00
|
|
|
check_directory_presence(%w(
|
|
|
|
_plugins
|
2012-01-18 16:25:14 -05:00
|
|
|
_posts
|
2011-12-22 23:23:36 -05:00
|
|
|
), true)
|
|
|
|
|
2011-12-21 12:38:38 -05:00
|
|
|
check_file_presence(%w(
|
|
|
|
.rvmrc
|
|
|
|
.rbenv-version
|
2011-12-22 23:23:36 -05:00
|
|
|
_config.yml
|
2011-12-21 12:38:38 -05:00
|
|
|
Gemfile
|
|
|
|
), true)
|
2012-01-18 16:25:14 -05:00
|
|
|
|
|
|
|
# Classic theme files
|
|
|
|
check_directory_presence(%w(
|
|
|
|
_includes
|
|
|
|
_layouts
|
|
|
|
_sass
|
|
|
|
assets
|
|
|
|
blog
|
|
|
|
images
|
|
|
|
javascripts
|
|
|
|
), true)
|
|
|
|
|
|
|
|
check_file_presence(%w(
|
|
|
|
blog/archives/index.html
|
|
|
|
atom.xml
|
|
|
|
favicon.png
|
|
|
|
index.html
|
|
|
|
_sass/screen.scss
|
|
|
|
), true)
|
|
|
|
|
2011-12-21 12:38:38 -05:00
|
|
|
end
|