You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundler/lib/bundler/man/bundle-gem.1
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,10 @@ The generated project skeleton can be customized with OPTIONS, as explained belo
32
32
.IP"\(bu"4
33
33
\fB\-\-no\-ext\fR: Do not add extension code (overrides \fB\-\-ext\fR specified in the global config)\.
34
34
.IP"\(bu"4
35
+
\fB\-\-git\fR: Initialize a git repo inside your library\.
36
+
.IP"\(bu"4
37
+
\fB\-\-github\-username=GITHUB_USERNAME\fR: Fill in GitHub username on README so that you don't have to do it manually\. Set a default with \fBbundleconfigset\-\-globalgem\.github_username<your_username>\fR\.
38
+
.IP"\(bu"4
35
39
\fB\-\-mit\fR: Add an MIT license to a \fBLICENSE\.txt\fR file in the root of the generated project\. Your name from the global git config is used for the copyright statement\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundlegem\fR use\.
36
40
.IP"\(bu"4
37
41
\fB\-\-no\-mit\fR: Do not create a \fBLICENSE\.txt\fR (overrides \fB\-\-mit\fR specified in the global config)\.
@@ -46,6 +50,8 @@ When Bundler is unconfigured, an interactive prompt will be displayed and the an
46
50
.IP"\(bu"4
47
51
\fB\-\-no\-test\fR: Do not use a test framework (overrides \fB\-\-test\fR specified in the global config)\.
48
52
.IP"\(bu"4
53
+
\fB\-\-changelog\fR: Generate changelog file\. Set a default with \fBbundleconfigset\-\-globalgem\.changelogtrue\fR\.
54
+
.IP"\(bu"4
49
55
\fB\-\-ci\fR, \fB\-\-ci=github\fR, \fB\-\-ci=gitlab\fR, \fB\-\-ci=circle\fR: Specify the continuous integration service that Bundler should use when generating the project\. Acceptable values are \fBgithub\fR, \fBgitlab\fR and \fBcircle\fR\. A configuration file will be generated in the project directory\. Given no option is specified:
50
56
.IP
51
57
When Bundler is configured to generate CI files, this defaults to Bundler's global config setting \fBgem\.ci\fR\.
@@ -66,6 +72,8 @@ When Bundler is unconfigured, an interactive prompt will be displayed and the an
66
72
.IP"\(bu"4
67
73
\fB\-\-no\-linter\fR: Do not add a linter (overrides \fB\-\-linter\fR specified in the global config)\.
68
74
.IP"\(bu"4
75
+
\fB\-\-rubocop\fR: Add rubocop to the generated Rakefile and gemspec\. Set a default with \fBbundleconfigset\-\-globalgem\.rubocoptrue\fR\.
76
+
.IP"\(bu"4
69
77
\fB\-e\fR, \fB\-\-edit[=EDITOR]\fR: Open the resulting GEM_NAME\.gemspec in EDITOR, or the default editor if not specified\. The default is \fB$BUNDLER_EDITOR\fR, \fB$VISUAL\fR, or \fB$EDITOR\fR\.
Copy file name to clipboardExpand all lines: bundler/lib/bundler/man/bundle-gem.1.ronn
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,12 @@ configuration file using the following names:
49
49
Do not add extension code (overrides `--ext` specified in the global
50
50
config).
51
51
52
+
*`--git`:
53
+
Initialize a git repo inside your library.
54
+
55
+
*`--github-username=GITHUB_USERNAME`:
56
+
Fill in GitHub username on README so that you don't have to do it manually. Set a default with `bundle config set --global gem.github_username <your_username>`.
57
+
52
58
*`--mit`:
53
59
Add an MIT license to a `LICENSE.txt` file in the root of the generated
54
60
project. Your name from the global git config is used for the copyright
@@ -80,6 +86,9 @@ configuration file using the following names:
80
86
Do not use a test framework (overrides `--test` specified in the global
81
87
config).
82
88
89
+
*`--changelog`:
90
+
Generate changelog file. Set a default with `bundle config set --global gem.changelog true`.
0 commit comments