mirror of
https://github.com/moparisthebest/android.moparisthebest.org
synced 2024-11-01 15:55:03 -04:00
36 lines
537 B
Ruby
36 lines
537 B
Ruby
Then /a theme-classic project structure should exist/ do
|
|
|
|
# Basic project structure
|
|
check_directory_presence(%w(
|
|
_plugins
|
|
_posts
|
|
), true)
|
|
|
|
check_file_presence(%w(
|
|
.rvmrc
|
|
.rbenv-version
|
|
_config.yml
|
|
Gemfile
|
|
), true)
|
|
|
|
# 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)
|
|
|
|
end
|