aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/create.rb
AgeCommit message (Collapse)Author
2016-08-02audit: add --new-formula option.Mike McQuaid
Rather than nudge people to run `--strict` and then ignore some of the results sometimes (e.g. GitHub repository notability) instead add a dedicated `--new-formula` option that implies this is a one-time advisory check.
2016-07-18create: path.version may be nilXu Cheng
Fixes https://github.com/Homebrew/homebrew-core/issues/3067.
2016-07-16Unify Version.create usageVlad Shablinsky
Substitue each Version.new and HeadVersion.new with Version.create to unify Version and HeadVersion instantiation among core code. Note that this does not relate to Mac::OS::Version class.
2016-07-13various: proper escape in regexXu Cheng
2016-06-24create: add --tap option (#389)Zhiming Wang
This commit adds a --tap option to the create command such that a user could create a formula in a specified tap instead of the core.
2016-04-10Add all the top level commentsMax Nordlund
2016-04-03Update documentation after repository split.Mike McQuaid
2015-10-30create: deprecate --macports and --finkBaptiste Fontaine
Closes Homebrew/homebrew#45465. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-28create: accept HEAD urlsBaptiste Fontaine
Fixes Homebrew/homebrew#45310. Closes Homebrew/homebrew#45336. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-10-27The Formula API is no longer work-in-progress.Mike McQuaid
Feature it a bit more prominently in the documentation as a result. Closes Homebrew/homebrew#45374. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-29More API documentation.Mike McQuaid
And remove the documented stuff from the `example-formula.rb`. Closes Homebrew/homebrew#43241. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-05-25`brew create` adds a `desc` field to the new formulaNikolaus Wittenstein
2015-05-08add Formulary::path methodXu Cheng
This is a little code refactoring splited from Homebrew/homebrew#36753 The idea is to eliminate `Formula#path` outside of `formulary.rb`. And I indent to deprecate `Formula#path` method when I reimplement symlink free tap function. Closes Homebrew/homebrew#39313.
2015-03-05checksums: switch to sha256 for bottles and new formulaeDominyk Tiller
Closes Homebrew/homebrew#37164. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-01-08Remove another use of the direct url writerJack Nagel
masgn is hard to grep for :/
2015-01-04Use more https in urls and updated some lost linksViktor Szakats
Closes Homebrew/homebrew#35531. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-27create: recommend `brew audit --strict`.Mike McQuaid
2014-12-15create: remove formula include.Mike McQuaid
2014-10-26Import docs from wiki.Mike McQuaid
Closes Homebrew/homebrew#33211.
2014-07-17Only ask for the stem onceJack Nagel
2014-06-22Move deprecated Formula class methods to compatJack Nagel
These have all been moved to Formulary.
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-06-03test: improve docs for when using HEAD or similar flagsDave Cottlehuber
Closes Homebrew/homebrew#29791. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-02-22create: make conditional more obviousJack Nagel
2014-02-22create: pull requires out of methodJack Nagel
2014-02-22Update method callJack Nagel
2014-02-21Move Formula.class_s to FormularyJack Nagel
2014-01-07create: fix typosChristian Moritz
Closes Homebrew/homebrew#25709. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-01-07create: always use double quotes.Mike McQuaid
2013-12-27Replace template’s `j1` with `deparallelize`Josh Tilles
Solely because I think `ENV.deparallelize` is *way* clearer than `ENV.j1`, at least to the uninitiated. Also, updating the template will reduce the number of `ENV.j1`s that persist because the Homebrew maintainers want clean histories of formulae. Ideally, this change should prevent any more cases from being introduced! Closes Homebrew/homebrew#25431. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-12-14Update docs, comment mxcl/homebrew refs.Mike McQuaid
2013-10-30Cleanup use of some global constants.Mike McQuaid
2013-10-26create: escape example interpolationJack Nagel
Fixes Homebrew/homebrew#23643.
2013-10-26add note about test path to create templateAdam Vandenberg
2013-10-25create: detect name from GitHub archives.Mike McQuaid
2013-09-23Clean up SoftwareSpec and Resource initializersJack Nagel
2013-09-17create: use resource for checksum detectionJack Nagel
2013-09-16Rephrase conditionalJack Nagel
2013-09-06Enable verbose compile command in create template.Xiyue Deng
* Add "--disable-silent-rules" option to autotools-based configure options. - Also add comments to notify user removing unrecognized configure options. * Add "-DCMAKE_VERBOSE_MAKEFILE=ON" to cmake-based configure options.
2013-08-20brew create: Mention the example-formulaSamuel John
2013-08-03brew-create: don't break when given --set-versionChes Martin
Since 9f2782812cbaf2, specifying a version breaks with: Error: undefined method `detected_from_url?' for "1.2.2":String Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-06-26Don't use 'obj == nil'Jack Nagel
2013-04-03use separate args in brew createAdam Vandenberg
2013-02-23brew create: use test DSLMike McQuaid
2013-02-18Don't use deprecated form of attrJack Nagel
The form "attr :name, true" is deprecated and causes Ruby to emit a warning in verbose mode. Using attr_{reader,writer,accessor} is more clear anyway, so do so.
2013-02-18brew-create: don't insert autodetected versions.Mike McQuaid
2012-12-27Respect BROWSER environment variableJack Nagel
2012-08-26create: allow --set-name and --set-versionAdam Vandenberg
Closes Homebrew/homebrew#10873. Closes Homebrew/homebrew#14401. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-08-09create: Fix indentation for :x11 depMisty De Meo