Skip to content

Commit 2659301

Browse files
committed
Fix Rakefile by deleting refs to removed install tasks
Previously when replacing dependency installation with `npm` rather than `rake`, there were still install task references found in `Rakefile` which should have been removed as well. ``` $ npm version patch v2.3.1 ... npm ERR! > minifying `mustache.js`... npm ERR! rake aborted! npm ERR! Don't know how to build task 'install_uglify' ``` Those `install_*` tasks does not exist anymore, as installing those dependencies are done with npm now. Refs #666
1 parent e443ada commit 2659301

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Rakefile

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ def minified_file
88
end
99

1010
desc "Run all tests"
11-
task :test => :install_mocha do
11+
task :test do
1212
sh "./node_modules/.bin/mocha test"
1313
end
1414

1515
desc "Make a compressed build in #{minified_file}"
16-
task :minify => :install_uglify do
16+
task :minify do
1717
sh "./node_modules/.bin/uglifyjs mustache.js > #{minified_file}"
1818
end
1919

2020
desc "Run JSHint"
21-
task :hint => :install_jshint do
21+
task :hint do
2222
sh "./node_modules/.bin/jshint mustache.js"
2323
end
2424

0 commit comments

Comments
 (0)