aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTingPing2014-10-02 20:27:33 -0400
committerMike McQuaid2014-10-02 18:43:22 -0700
commitd6a5e72a651c825fc98a0aef7bf45020f76cdd62 (patch)
tree22445d8d32b5c681de133ba693e542168fb439d5 /Library
parentd08bc3261df550eb4c4b324b7458dc21d8f108aa (diff)
downloadhomebrew-d6a5e72a651c825fc98a0aef7bf45020f76cdd62.tar.bz2
rock: install more stuff and add test.
Closes #32890. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/rock.rb11
1 files changed, 10 insertions, 1 deletions
diff --git a/Library/Formula/rock.rb b/Library/Formula/rock.rb
index aadcae7f2..4e7769c08 100644
--- a/Library/Formula/rock.rb
+++ b/Library/Formula/rock.rb
@@ -25,6 +25,15 @@ class Rock < Formula
# install misc authorship files & rock binary in place
# copy the sdk, libs and docs
- prefix.install "rock.use", 'README.md', "sdk", "docs"
+ prefix.install "rock.use", "sdk.use", "sdk-net.use", "sdk-dynlib.use", "pcre.use", "sdk", "README.md"
+ doc.install Dir["docs/*"]
+ end
+
+ test do
+ (testpath/"hello.ooc").write <<-EOS.undent
+ import os/Time
+ Time dateTime() println()
+ EOS
+ system "#{bin}/rock", "--run", "hello.ooc"
end
end