remove 'css' subdirectory from assets folder
This commit is contained in:
parent
87a03f6c1a
commit
f636067661
|
@ -177,8 +177,7 @@ When(%r!^I decide to build the theme gem$!) do
|
||||||
File.write(gemspec, File.read(gemspec).sub("TODO: ", ""))
|
File.write(gemspec, File.read(gemspec).sub("TODO: ", ""))
|
||||||
File.new("_includes/blank.html", "w")
|
File.new("_includes/blank.html", "w")
|
||||||
File.new("_sass/blank.scss", "w")
|
File.new("_sass/blank.scss", "w")
|
||||||
FileUtils.mkdir_p("assets/css")
|
File.new("assets/blank.scss", "w")
|
||||||
File.new("assets/css/blank.scss", "w")
|
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -275,7 +274,7 @@ Then(%r!^I should get an updated git index$!) do
|
||||||
_layouts/page.html
|
_layouts/page.html
|
||||||
_layouts/post.html
|
_layouts/post.html
|
||||||
_sass/blank.scss
|
_sass/blank.scss
|
||||||
assets/css/blank.scss
|
assets/blank.scss
|
||||||
my-cool-theme.gemspec
|
my-cool-theme.gemspec
|
||||||
)
|
)
|
||||||
index.each do |file|
|
index.each do |file|
|
||||||
|
|
|
@ -14,7 +14,7 @@ Feature: Building Theme Gems
|
||||||
When I decide to build the theme gem
|
When I decide to build the theme gem
|
||||||
Then the "_includes/blank.html" file should exist
|
Then the "_includes/blank.html" file should exist
|
||||||
Then the "_sass/blank.scss" file should exist
|
Then the "_sass/blank.scss" file should exist
|
||||||
Then the "assets/css/blank.scss" file should exist
|
Then the "assets/blank.scss" file should exist
|
||||||
When I run git add .
|
When I run git add .
|
||||||
Then I should get an updated git index
|
Then I should get an updated git index
|
||||||
When I run gem build my-cool-theme.gemspec
|
When I run gem build my-cool-theme.gemspec
|
||||||
|
@ -24,7 +24,7 @@ Feature: Building Theme Gems
|
||||||
And the "my-cool-theme-0.1.0/_layouts/default.html" file should exist
|
And the "my-cool-theme-0.1.0/_layouts/default.html" file should exist
|
||||||
And the "my-cool-theme-0.1.0/_includes/blank.html" file should exist
|
And the "my-cool-theme-0.1.0/_includes/blank.html" file should exist
|
||||||
And the "my-cool-theme-0.1.0/_sass/blank.scss" file should exist
|
And the "my-cool-theme-0.1.0/_sass/blank.scss" file should exist
|
||||||
And the "my-cool-theme-0.1.0/assets/css/blank.scss" file should exist
|
And the "my-cool-theme-0.1.0/assets/blank.scss" file should exist
|
||||||
And the my-cool-theme-0.1.0/.git directory should not exist
|
And the my-cool-theme-0.1.0/.git directory should not exist
|
||||||
And the "my-cool-theme-0.1.0/.gitignore" file should not exist
|
And the "my-cool-theme-0.1.0/.gitignore" file should not exist
|
||||||
And the "my-cool-theme-0.1.0/Gemfile" file should not exist
|
And the "my-cool-theme-0.1.0/Gemfile" file should not exist
|
||||||
|
|
Loading…
Reference in New Issue