ledger: general cleanup

This commit is contained in:
Dominyk Tiller 2016-07-22 04:43:07 +01:00
parent 4c18fac519
commit 63f24e4d73
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -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