Skip to content

Commit

Permalink
change in how dist folder is build. files are dump directly in dist. …
Browse files Browse the repository at this point in the history
…older versions and version folder are removed
  • Loading branch information
michelson committed Mar 16, 2015
1 parent 26a4de0 commit bff0eeb
Show file tree
Hide file tree
Showing 45 changed files with 331 additions and 11,301 deletions.
4 changes: 2 additions & 2 deletions config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ def initialize(app, options_hash={}, &block)

app.after_build do |builder|
app.config[:dist_dir] = "dist"

base_dist_path = File.join(app.config[:dist_dir], DanteEditor::VERSION)
FileUtils.rm_rf Dir.glob("#{app.config[:dist_dir]}/*")
base_dist_path = app.config[:dist_dir]
dist_fonts_path = File.join(base_dist_path, "fonts", "dante")
dist_images_path = File.join(base_dist_path, "images", "dante")
dist_js_path = File.join(base_dist_path, "js")
Expand Down
Loading

0 comments on commit bff0eeb

Please sign in to comment.