Skip to content

Commit

Permalink
Add fields alias for jenkins_ci.ps1 compatibiltiy
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewkroh committed May 1, 2019
1 parent fcb63cf commit 93d8db0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions winlogbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ func init() {
// https://github.com/magefile/mage/issues/217.
func Update() { mg.Deps(winlogbeat.Update.All) }

// Fields is an alias for update:fields.
//
// TODO: dev-tools/jenkins_ci.ps1 uses this. This should be removed when all
// projects have update to use goUnitTest.
func Fields() { mg.Deps(winlogbeat.Update.Fields) }

// GoTestUnit is an alias for goUnitTest.
//
// TODO: dev-tools/jenkins_ci.ps1 uses this. This should be removed when all
Expand Down
6 changes: 6 additions & 0 deletions x-pack/winlogbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ func init() {
// https://github.com/magefile/mage/issues/217.
func Update() { mg.Deps(winlogbeat.Update.All) }

// Fields is an alias for update:fields.
//
// TODO: dev-tools/jenkins_ci.ps1 uses this. This should be removed when all
// projects have update to use goUnitTest.
func Fields() { mg.Deps(winlogbeat.Update.Fields) }

// GoTestUnit is an alias for goUnitTest.
//
// TODO: dev-tools/jenkins_ci.ps1 uses this. This should be removed when all
Expand Down

0 comments on commit 93d8db0

Please sign in to comment.