aboutsummaryrefslogtreecommitdiffstats
path: root/Library
AgeCommit message (Collapse)Author
2016-01-03compilers: use comma consistentlyDominyk Tiller
2016-01-03languages/haskell: style nitsDominyk Tiller
2016-01-03language/haskell: wrap options in parensDominyk Tiller
Fixes: language/haskell.rb:65: warning: `*' interpreted as argument prefix
2016-01-03pathname: remove redundant spacingDominyk Tiller
2016-01-03pathname: become less introspectiveDominyk Tiller
These self references are unnecessary.
2016-01-03test_intergration_cmds: fix minor typoDominyk Tiller
2016-01-03test_intergration_cmds: paren-wrap regexDominyk Tiller
Fixes this `brew readall` warning: test_integration_cmds.rb:116: warning: ambiguous first argument; put parentheses or even spaces
2016-01-03RubyRequirement: check all available rubyXu Cheng
Closes Homebrew/homebrew#47605. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-01-03test_utils: add test_which_allXu Cheng
2016-01-03utils: add which_allXu Cheng
Similar to which, except it returns all of paths where binary is found. i.e. it's equivalent to `which -a`.
2016-01-02Improve dash separated version detection.Xiyue Deng
* Also with test case. Closes Homebrew/homebrew#47584. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2016-01-01DependencyCollector: add lua51 language moduleMisty De Meo
2016-01-01LanguageModuleRequirement: remove jruby supportMisty De Meo
2016-01-01LanguageModuleRequirement: remove ocaml supportMisty De Meo
2016-01-01LanguageModuleRequirement: remove node supportMisty De Meo
2016-01-01LanguageModuleRequirement: remove chicken supportMisty De Meo
2016-01-01LanguageModuleRequirement: remove rbx supportMisty De Meo
This test wasn't running by default, so we missed that it wasn't actually being executed - or that it was failing when running in the testing environment. As far as I can tell this is not, and has not, been used either in core or in any tap, third party or otherwise, so just remove the feature and its test.
2015-12-31Add more tests for DependencyCollector inferred depsMisty De Meo
2015-12-31DependencyCollector: infer dep for .lzh archivesMisty De Meo
Refs Homebrew/homebrew-games#383.
2015-12-30Haskell: call fails_with on correct objectMisty De Meo
Fixes Homebrew/homebrew#47533.
2015-12-30pathname: don't try to calculate symlink size.Mike McQuaid
Closes https://github.com/Homebrew/homebrew/issues/47532 Closes https://github.com/Homebrew/homebrew-dupes/issues/542
2015-12-30pod2man wrapper: restore missing `echo`Xu Cheng
`echo` is missing since f3f6552c.
2015-12-30test_utils: add test_disk_usage_readable and test_number_readableXu Cheng
2015-12-30utils: improve disk_usage_readableXu Cheng
* Avoid parallel assignment. * Avoid string manipulation.
2015-12-30pathname: improve compute_disk_usageXu Cheng
* Avoid parallel assignment. * Use Pathname#size instead of File#size * Use Pathname#directory? instead of File#directory? * Use basename to check `.DS_Store`. Original regex has poor performance, and may match with incorrect file.
2015-12-30pathname: fix use of `find` on Ruby 1.8.Mike McQuaid
2015-12-30cleanup: display total disk space to be clearedRakesh
Closes Homebrew/homebrew#45642. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-30pathname: store file count and disk usage.Rakesh
especially for directory instances of `Pathname` class and all instances of `Keg` class.
2015-12-30utils: add readable disk space, numbers methods.Rakesh
2015-12-30Tap#issues_url addedBaptiste Fontaine
Closes Homebrew/homebrew#47454. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-29audit: allow whitelisting of versioned Kibana.Jason Tedor
This commit modifies the whitelisting of the Kibama formula from the npm audit check to allow the versioned Kibana formulae to receive the same whitelisting. Closes Homebrew/homebrew#47500. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-29superenv/cc: don't filter out `gdwarf-2`.Mike McQuaid
It's needed by `cgo` which is used by a lot of Go software.
2015-12-29formula: pass sdk_path in std_cmake_argsDominyk Tiller
2015-12-29test-bot: print ARGV temporarily.Mike McQuaid
Will help debug possible Travis issues.
2015-12-29test-bot: skip more building.Mike McQuaid
There should be no compilation happening with `--fast`.
2015-12-28kibana 4.3.0Jason Tedor
Closes Homebrew/homebrew#46593. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-27pod2man wrapper: allow non-/usr/bin pod2menMisty De Meo
2015-12-27cmd/options.rb: move common code in options.rbBaptiste Fontaine
Closes Homebrew/homebrew#47423. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-27more formula testsBaptiste Fontaine
Closes Homebrew/homebrew#47404. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-26Revert "minor perf improvements"Baptiste Fontaine
This reverts commit 16a2a8274a7808e63a6c78475e12a7c0ef5812ef.
2015-12-26minor perf improvementsBaptiste Fontaine
Closes Homebrew/homebrew#47224. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-26Add -DNDEBUG to std_cmake_argsAlex Wang
CMake has -DNDEBUG and -O3 as its default flags for Release builds. Homebrew clears out the default CMake flags, which is fine for optimization because Homebrew passes its own optimization flag(s). -DNDEBUG wasn't added back in, though. This ensures -DNDEBUG is passed to CMake release builds by default, instead of individual formulas having to add it explicitly. This also removes explicit additions of -DNDEBUG from the formulae that had them -- gflags, llvm, and taglib. Closes Homebrew/homebrew#47378. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-26Fix version parsing on URLs with no extensionsStefano Pigozzi
2015-12-26IntegrationCommandTests: improve bottle testXu Cheng
Also let `cmd_output` capture `$stderr` Closes Homebrew/homebrew#47383. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-12-26bottle: prevent bottling formula outside core or tapsXu Cheng
Closes Homebrew/homebrew#47233.
2015-12-26doctor: check_access_usr_local mention Cocktail.Joao Antunes
Added mention to Cocktail app cleanup/repair/optimizations, that has some features that when run they restore the /usr/local directory to the original 'not writable' state in OS X 10.11 . Closes Homebrew/homebrew#47379. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-26tap: improve arguments resolutionXu Cheng
* Use `ARGV.include?` instead of `ARGV.first ==`, so users can pass `-v`/`-d` before the function flags(i.e. `--list-pinned` etc) * Restore the ability to call `brew tap --flags tap/name`.
2015-12-25Improve Haskell language supportMiëtek Bak
Removes the need to call setup_ghc_compilers in every Haskell language formula, by automatically calling fails_with. Adds a :home option to the cabal_sandbox method. This option allows a specific temporary HOME to be used instead of the current working directory, and in turn allows a single Cabal package database to be reused between multiple calls to this method. Avoids updating the Cabal package database more than once if cabal_sandbox is called multiple times. Removes the need to call cabal_clean_lib whenever cabal_sandbox is called, by automatically cleaning the lib directory. Adds a :keep_lib option to the cabal_sandbox method. This option allows opting out of the automatic cleaning. Ensures build products are always removed from the current working directory. Removes a workaround for versions of cabal-install older than 1.20.0.0. Adds a cabal_sandbox_add_source method. Adds a :using option to the install_cabal_package method. This option allows specifying the Haskell language tools that are required to install a particular formula, and in turn allows formulae to be simplified by replacing calls to multiple methods with a single call to this method. Allows customizing the call to install_cabal_package by giving a block. Removes empty method shells. Closes Homebrew/homebrew#47293. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-12-25tap: don't backtrace on invalid options.Mike McQuaid
Closes Homebrew/homebrew#47162.
2015-12-23tests: pass --trace and named args to rakeBaptiste Fontaine
Closes Homebrew/homebrew#47279. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>