ledger: general cleanup
This commit is contained in:
parent
4c18fac519
commit
63f24e4d73
1 changed files with 4 additions and 6 deletions
|
@ -48,9 +48,9 @@ class Ledger < Formula
|
|||
system "./acprep", flavor, "make", "doc", *args
|
||||
system "./acprep", flavor, "make", "install", *args
|
||||
|
||||
(pkgshare+"examples").install Dir["test/input/*.dat"]
|
||||
(pkgshare).install "contrib"
|
||||
(pkgshare).install "python/demo.py" if build.with? "python"
|
||||
(pkgshare/"examples").install Dir["test/input/*.dat"]
|
||||
pkgshare.install "contrib"
|
||||
pkgshare.install "python/demo.py" if build.with? "python"
|
||||
elisp.install Dir["lisp/*.el", "lisp/*.elc"]
|
||||
end
|
||||
|
||||
|
@ -64,8 +64,6 @@ class Ledger < Formula
|
|||
assert_equal " $-2,500.00 Equity", balance.read.chomp
|
||||
assert_equal 0, $?.exitstatus
|
||||
|
||||
if build.with? "python"
|
||||
system "python", "#{pkgshare}/demo.py"
|
||||
end
|
||||
system "python", pkgshare/"demo.py" if build.with? "python"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue