Skip to content

Commit

Permalink
remove 'css' subdirectory from assets folder
Browse files Browse the repository at this point in the history
  • Loading branch information
ashmaroli committed Sep 30, 2016
1 parent 87a03f6 commit f636067
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions features/step_definitions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,7 @@
File.write(gemspec, File.read(gemspec).sub("TODO: ", ""))
File.new("_includes/blank.html", "w")
File.new("_sass/blank.scss", "w")
FileUtils.mkdir_p("assets/css")
File.new("assets/css/blank.scss", "w")
File.new("assets/blank.scss", "w")
end

#
Expand Down Expand Up @@ -275,7 +274,7 @@
_layouts/page.html
_layouts/post.html
_sass/blank.scss
assets/css/blank.scss
assets/blank.scss
my-cool-theme.gemspec
)
index.each do |file|
Expand Down
4 changes: 2 additions & 2 deletions features/theme_gem.feature
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Feature: Building Theme Gems
When I decide to build the theme gem
Then the "_includes/blank.html" 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 .
Then I should get an updated git index
When I run gem build my-cool-theme.gemspec
Expand All @@ -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/_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/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/.gitignore" file should not exist
And the "my-cool-theme-0.1.0/Gemfile" file should not exist
Expand Down

0 comments on commit f636067

Please sign in to comment.