Mike McQuaid
e3ac94fc5d
dev-cmd: use more and cleanup new args APIs.
2020-03-05 09:40:15 +00:00
EricFromCanada
aea6d79d21
option parser: check for extra named args
2019-12-15 00:04:45 -05:00
EricFromCanada
b817796562
Grammar fixes for status messages
2019-12-02 11:38:06 -05:00
Dawid Dziurla
de4d08028e
create: add --perl option
2019-09-26 20:12:35 +02:00
Dawid Dziurla
b4c56937b1
create: add --rust option
2019-09-25 14:29:09 +02:00
Dawid Dziurla
7b1288f658
create: add --python option
2019-09-24 19:35:21 +02:00
Dawid Dziurla
a243f084e6
create: --go-mod -> --go
2019-09-24 16:49:27 +02:00
Dawid Dziurla
08f51a5d5a
create: add --go-mod option
2019-09-20 16:09:52 +02:00
EricFromCanada
8a8359cdd4
manpages: sentence rewording for readability
...
Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc.
2019-08-20 09:05:45 -04:00
Mike McQuaid
c4f72312ce
Fixup brew style
failures.
2019-04-30 09:19:18 +01:00
Mike McQuaid
36dbad3922
Add frozen_string_literal to all files.
2019-04-20 13:27:36 +09:00
Mike McQuaid
e40b171127
Rename cli_parser to cli/parser.
2019-04-17 22:16:50 +09:00
Mike McQuaid
bbea109926
dev-cmd: remove --help headers and tweak docs.
2019-01-30 21:39:28 +00:00
Mike McQuaid
867b155479
Add missing conflicts to command options.
2019-01-29 19:39:41 +00:00
EricFromCanada
388781f6a7
dev-cmd/: remove colons from command specs.
...
These aren't needed when converting Parser-based help text to man page or Markdown formats.
Includes regenerated docs.
2018-10-19 13:12:55 -04:00
EricFromCanada
ddf057f3dd
dev-cmd/: edit help text and descriptions.
2018-10-19 13:12:11 -04:00
Viktor Szakats
a0d971a0d0
secure/fix URLs
2018-10-03 21:21:05 +00:00
Gautham Goli
a03d2e0cd1
man: Correct option synopsis
2018-10-03 19:49:46 +05:30
Gautham Goli
f60582ca48
man: Remove [] from command synopsis
2018-10-03 19:49:45 +05:30
Gautham Goli
446b1cb9e3
man: Seperate global options into a section
2018-10-03 19:49:45 +05:30
Gautham Goli
e0e876cf37
man: Make command heading H3
2018-10-03 19:49:44 +05:30
Gautham Goli
4f58f2db99
man: Generate dev cmd manpages
2018-10-03 19:49:41 +05:30
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