-
Notifications
You must be signed in to change notification settings - Fork 277
Added-ruby-config #2991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Added-ruby-config #2991
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| package ruby | ||
|
|
||
| import "github.com/jfrog/jfrog-cli/docs/common" | ||
|
|
||
| var Usage = []string{"ruby <tasks and options> [command options]"} | ||
|
|
||
| var EnvVar = []string{common.JfrogCliReleasesRepo, common.JfrogCliDependenciesDir} | ||
|
|
||
| func GetDescription() string { | ||
| return "Run Ruby build." | ||
| } | ||
|
|
||
| func GetArguments() string { | ||
| return ` tasks and options | ||
| Tasks and options to run with Ruby command. For example, -b path/to/GemFile.` | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package rubyconfig | ||
|
|
||
| var Usage = []string{"ruby-config [command options]"} | ||
|
|
||
| func GetDescription() string { | ||
| return "Generate ruby build configuration." | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,10 +2,11 @@ package cliutils | |
|
|
||
| import ( | ||
| "fmt" | ||
| "github.com/jfrog/jfrog-cli-artifactory/cliutils/flagkit" | ||
| "sort" | ||
| "strconv" | ||
|
|
||
| "github.com/jfrog/jfrog-cli-artifactory/cliutils/flagkit" | ||
|
|
||
| commonCliUtils "github.com/jfrog/jfrog-cli-core/v2/common/cliutils" | ||
| "github.com/jfrog/jfrog-cli-core/v2/utils/coreutils" | ||
|
|
||
|
|
@@ -41,6 +42,8 @@ const ( | |
| SwiftConfig = "swift-config" | ||
| Gradle = "gradle" | ||
| GradleConfig = "gradle-config" | ||
| Ruby = "ruby" | ||
| RubyConfig = "ruby-config" | ||
| DockerPromote = "docker-promote" | ||
| Docker = "docker" | ||
| DockerPush = "docker-push" | ||
|
|
@@ -1821,6 +1824,9 @@ var commandFlags = map[string][]string{ | |
| global, serverIdResolve, serverIdDeploy, repoResolve, repoDeploy, usesPlugin, UseWrapper, deployMavenDesc, | ||
| deployIvyDesc, ivyDescPattern, ivyArtifactsPattern, | ||
| }, | ||
| RubyConfig: { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. missing Ruby
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We only want to add the ruby-config, should I remove the ruby and only keep ruby-config ?
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yes |
||
| global, serverIdResolve, serverIdDeploy, repoResolve, repoDeploy, | ||
| }, | ||
| Mvn: { | ||
| BuildName, BuildNumber, deploymentThreads, InsecureTls, Project, detailedSummary, xrayScan, xrOutput, | ||
| }, | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why gradeconfig description ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed the typo