Gautham Goli
b6c456b681
Extract out arg parsing method to <cmd>_args method
2018-10-03 19:19:04 +05:30
Markus Reiter
e9b9ea49a1
Update to RuboCop 0.59.1.
2018-09-17 03:45:59 +02:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
...
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Andrew Janke
e0a8a79921
Style fixes for Rubocop 0.57.1
2018-06-30 19:40:14 -04:00
Gautham Goli
e05f72bc52
create: Move FormulaCreator to formula_creator.rb
2018-06-03 17:10:05 +05:30
Gautham Goli
f60751d91c
create: Use Parser to parse args
2018-06-03 01:15:28 +05:30
Markus Reiter
16fb563d49
Refactor MissingFormula
spec.
2018-04-20 19:11:22 +02:00
Tom Schoonjans
4cdee1b53d
brew create: fix meson template
2018-04-01 11:24:50 +02:00
Alyssa Ross
69b9c11ae8
Fix style in brew create
-generated formulae
...
- Fix indentation oddities
- Add empty lines where we expect them in submitted formulae
2018-03-12 09:04:07 +00:00
Mike McQuaid
f2ce6489b2
Use more docs.brew.sh short links
...
These are nicer on the eyes.
2018-02-22 19:46:58 +00:00
Mike McQuaid
1f48e17f1b
rubocop: fix brew style warnings.
2018-01-17 10:42:43 +00:00
Markus Reiter
9bee9ca575
Use “squiggly” heredocs.
2017-10-18 14:39:09 +02:00
Mike McQuaid
baa61f5a6e
Use https for all docs.brew.sh links.
...
May as well use the more secure link when possible.
2017-07-27 15:59:37 +01:00
Mike McQuaid
ed9942fbd1
Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs
...
rubocop: don’t allow Perl regex backrefs.
2017-06-12 16:47:28 +01:00
Mike McQuaid
5d8b96a0c7
create: specify homebrew-core test requirements.
...
As requested in https://github.com/Homebrew/homebrew-core/pull/14419 .
2017-06-10 20:27:44 +03:00
Mike McQuaid
7a0aff1080
Autocorrect Rubocop Style/PerlBackrefs.
2017-06-10 20:23:20 +03:00
Mike McQuaid
ba3c46d24f
More deprecations.
...
Deprecate more methods. Internal APIs have been verified to be unused
elsewhere and removed. External APIs have had deprecation methods added.
Existing deprecations have been either upgraded to produce warnings or
no longer deprecated and the reasoning documented.
2017-04-22 16:28:07 +01:00
Mike McQuaid
43253ede65
create: use GitHub metadata where available.
...
GitHub provides a description and homepage field so let `brew create`
use them where possible. Also, detect GitHub repositories based on
`releases` as well as `archive`s.
2017-04-18 08:22:41 +01:00
Mike McQuaid
80e95b684e
blacklist: move to missing_formula class instead.
...
This will allow extending this class so it can be used by more than
just blacklisting.
2017-03-20 18:20:31 +02:00
EricFromCanada
afc539f86e
Update brew's man page formatting and grammar
...
Also update command specifications to match descriptions.
2017-02-25 17:37:57 -05:00
Mike McQuaid
feea90c0dd
create: handle null versions.
...
Fixes #1821
2017-01-16 20:15:32 +00:00
Mike McQuaid
a3bffe70bc
Use docs.brew.sh links.
2017-01-04 11:13:41 +00:00
Mike McQuaid
5b806c09ae
Merge pull request #1719 from zmwangx/strip-x11-from-new-formula-template
...
create: remove :x11 dep from new formula template
2016-12-23 19:51:12 +00:00
Mike McQuaid
161bd20fcd
Merge pull request #1663 from tschoonj/meson-create-support
...
brew create: add meson support
2016-12-23 19:24:15 +00:00
Zhiming Wang
1ab8b5e35b
create: remove :x11 dep from new formula template
2016-12-22 18:57:57 -05:00
Tom Schoonjans
cc09bb14c1
brew create: add meson support
...
meson is quickly gaining popularity as build system, in combination with
ninja. Several Gnome projects for example are currently transitioning
from autotools to meson, mostly because it allows for Visual Studio
builds, which is impossible to accomplish with autotools.
In order to facilitate generating meson based Formulas, I added support
for meson to brew-create.
2016-12-19 21:51:57 +01:00
Mike McQuaid
61e370fb7a
create: handle Version::NULL correctly.
...
Fixes #1688 .
2016-12-18 13:32:29 -08:00
Markus Reiter
0ab750bf24
Use module_function
for commands.
2016-10-02 00:24:47 +02:00
Mike McQuaid
b85ee1cb8f
Update documentation links.
2016-09-20 10:41:42 +01:00
Mike McQuaid
d01993da82
dev-cmd/create: fix Rubocop warnings.
2016-09-11 19:14:55 +01:00
Mike McQuaid
af8605ea4b
Move developer-focused commands to dev-cmd.
2016-09-08 20:46:37 +01:00