Skip to content

Commit

Permalink
redirect test.html
Browse files Browse the repository at this point in the history
point test.html to build/engines instead of just engines, because it is in the project root

Fixes replit-archive#87
  • Loading branch information
zwhitchcox committed Feb 18, 2015
1 parent ef13d20 commit ac2a5cc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Cakefile
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,13 @@ minify = (src, dest, minifier, callback) ->
fs.writeFileSync dest, minified
if callback then callback()

# Writes the specified languages list to languages.js
# Writes the specified languages list to languages.js
buildLanguagesList = (langs) ->
langs = JSON.stringify langs
langs = langs.replace /engines/g, 'build/engines'
console.log 'Building languages list.'
langs_js = "JSREPL.prototype.Languages.prototype=#{JSON.stringify langs}"
langs_js = "JSREPL.prototype.Languages.prototype="+langs
fs.writeFileSync 'languages.js', langs_js

# Watches a file for changes. Calls the callback immediately when first run.
Expand Down

0 comments on commit ac2a5cc

Please sign in to comment.