Sha256: 851d6dea3ee2a9499c7ca96b13f308dd0c007b517c797f9837664211f81b81c1
Contents?: true
Size: 582 Bytes
Versions: 1
Compression:
Stored size: 582 Bytes
Contents
#!/usr/bin/env nake begin require File.expand_path("../.bundle/environment", __FILE__) rescue LoadError require "bundler" Bundler.setup end $LOAD_PATH.unshift(File.expand_path("../lib", __FILE__)) begin load "./tasks/code-cleaner.nake" rescue LoadError abort "If you want to contribute to code-cleaner, you have to run ./tasks.rb hooks:whitespace:install first!" end Nake::Task["hooks:whitespace:install"].tap do |task| task.config[:path] = "bin" task.config[:encoding] = "utf-8" task.config[:whitelist] = '(bin/[^/]+|.+\.(rb|rake|nake|thor|task|gemspec))$' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
code-cleaner-0.8.2 | tasks.rb |