Skip to content

Commit

Permalink
ISSUE-7: add old html pages clearing after rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Aug 8, 2018
1 parent d945777 commit 4b30a2a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/skeleton/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ def clear
FileUtils.rm_rf(PAGE_OBJECTS_FOLDER)
FileUtils.rm_rf(ATTACHMENTS_FOLDER)
FileUtils.rm_rf("#{ROOT_DIR}/server/screenshot.png")
Language.all.each do |lang|
FileUtils.rm_rf("#{ROOT_DIR}/server/#{lang}.html")
end
end

protected
Expand Down
2 changes: 1 addition & 1 deletion lib/skeleton/version.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module Skeleton
VERSION ||= '0.1.16'.freeze
VERSION ||= '0.1.17'.freeze
GEM_NAME ||= 'skeleton-ui'.freeze
end

0 comments on commit 4b30a2a

Please sign in to comment.