-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Brian Glusman
committed
Oct 21, 2014
1 parent
9e919b2
commit 61c3d41
Showing
5 changed files
with
22 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
b_cost_per_line 10 | ||
c_cost_per_line 20 | ||
d_cost_per_line 40 | ||
f_cost_per_line 100 | ||
|
||
extension_file_path "./debt.rb" | ||
|
||
whitelist_matching %w(app lib) | ||
|
||
cost_per_todo 50 | ||
|
||
#debt_per_reference_to 'DEPRECATED_API', 20 | ||
|
||
set_debt_ceiling 3000 | ||
|
||
#debt_reduction_target_and_date 100, 'Oct 31 2014' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,4 +8,5 @@ end | |
task :default => 'test' | ||
task :test do | ||
sh "ruby test/outlaw_test.rb" | ||
sh "ruby test/debt_test.rb" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
require 'debt_ceiling' | ||
|
||
DebtCeiling.calculate('.') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters