Commit 7f96049d authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Keep prettify lib when compressing jsduck export.

The prettify lib is used by view-source.
parent 0219d919
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -308,9 +308,9 @@ task :compress do
  File.open(index_html, 'w') {|f| f.write(html) }

  # Clean up SASS files
  # (But keep prettify lib, which is needed for source files)
  system "rm -rf #{OUT_DIR}/resources/sass"
  system "rm -rf #{OUT_DIR}/resources/codemirror"
  system "rm -rf #{OUT_DIR}/resources/prettify"
  system "rm -rf #{OUT_DIR}/resources/.sass-cache"

  # Empty the extjs dir, leave only the main JS files, CSS and images