diff options
| author | nibbles 2bits | 2012-10-19 22:11:57 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2012-10-20 16:22:30 -0700 |
| commit | b6768f0cd596783efd2fd05c304a46cf1a5d9d96 (patch) | |
| tree | 890464b9ba863e062fd29f200e3307772a233f8b /Library/Formula | |
| parent | 58f9a625a02af85e07eaa8c7363b69f531e59b99 (diff) | |
| download | homebrew-b6768f0cd596783efd2fd05c304a46cf1a5d9d96.tar.bz2 | |
konoha 0.1.0 (minikonoha)
Konoha has been reborn in this third iteration of it.
It is now called minikonoha, but it still includes a konoha binary.
It has the same homepage, but the code is developed on Github.
- Use the git url for minikonoha-0.1.0
- Keep the same formula name.
- Add an option to run the tests. 8 fail out of 776 in 1 minute.
- Tested with mpich2
Fixes #14950
Closes #15561.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/konoha.rb | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Library/Formula/konoha.rb b/Library/Formula/konoha.rb index 51bc2ba82..e0d9324ba 100644 --- a/Library/Formula/konoha.rb +++ b/Library/Formula/konoha.rb @@ -2,8 +2,10 @@ require 'formula' class Konoha < Formula homepage 'http://www.konohascript.org/' - url 'http://konoha.googlecode.com/files/konoha-1.0.0-952.tar.gz' - sha1 'c4cfdc956bd583f8c3e8e696eeb0316ca78b1389' + url 'https://github.com/downloads/konoha-project/minikonoha/minikonoha-0.1.0.tar.gz' + sha1 '621aa1244c344a9e7be96fb6e6d067bae7f43d64' + + option 'tests', 'Verify the build with make test (1 min)' depends_on 'cmake' => :build depends_on MPIDependency.new(:cc, :cxx) @@ -13,9 +15,10 @@ class Konoha < Formula def install args = std_cmake_args + ['..'] - cd 'build' do + mkdir 'build' do system 'cmake', *args system 'make' + system 'make test' if build.include? 'tests' system 'make install' end end |
