This repository has been archived by the owner on Jun 25, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 194
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into adding_power_support
- Loading branch information
Showing
8 changed files
with
108 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
module github.com/gobuffalo/packr | ||
|
||
require ( | ||
github.com/gobuffalo/envy v1.6.11 | ||
github.com/gobuffalo/buffalo-plugins v1.11.0 // indirect | ||
github.com/gobuffalo/envy v1.6.12 | ||
github.com/gobuffalo/meta v0.0.0-20190120163247-50bbb1fa260d // indirect | ||
github.com/gobuffalo/packd v0.0.0-20181212173646-eca3b8fd6687 | ||
github.com/gobuffalo/packr/v2 v2.0.0-rc.13 | ||
github.com/inconshreveable/mousetrap v1.0.0 // indirect | ||
github.com/gobuffalo/packr/v2 v2.0.0-rc.14 | ||
github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2 | ||
github.com/pkg/errors v0.8.1 | ||
github.com/spf13/cobra v0.0.3 | ||
github.com/stretchr/testify v1.3.0 | ||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 | ||
golang.org/x/sys v0.0.0-20190116161447-11f53e031339 // indirect | ||
golang.org/x/tools v0.0.0-20190118193359-16909d206f00 // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,21 @@ | ||
module github.com/gobuffalo/packr/v2 | ||
|
||
require ( | ||
github.com/gobuffalo/envy v1.6.11 | ||
github.com/gobuffalo/buffalo-plugins v1.11.0 // indirect | ||
github.com/gobuffalo/envy v1.6.12 | ||
github.com/gobuffalo/genny v0.0.0-20190112155932-f31a84fcacf5 | ||
github.com/gobuffalo/logger v0.0.0-20181127160119-5b956e21995c | ||
github.com/gobuffalo/meta v0.0.0-20190120163247-50bbb1fa260d // indirect | ||
github.com/gobuffalo/packd v0.0.0-20181212173646-eca3b8fd6687 | ||
github.com/karrick/godirwalk v1.7.8 | ||
github.com/markbates/oncer v0.0.0-20181203154359-bf2de49a0be2 | ||
github.com/markbates/safe v1.0.1 | ||
github.com/pkg/errors v0.8.1 | ||
github.com/rogpeppe/go-internal v1.0.0 | ||
github.com/rogpeppe/go-internal v1.1.0 | ||
github.com/sirupsen/logrus v1.3.0 | ||
github.com/spf13/afero v1.2.0 // indirect | ||
github.com/spf13/cobra v0.0.3 | ||
github.com/stretchr/testify v1.3.0 | ||
golang.org/x/crypto v0.0.0-20190103213133-ff983b9c42bc // indirect | ||
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 | ||
golang.org/x/tools v0.0.0-20190111214448-fc1d57b08d7b | ||
golang.org/x/sys v0.0.0-20190116161447-11f53e031339 // indirect | ||
golang.org/x/tools v0.0.0-20190118193359-16909d206f00 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,25 @@ | ||
package cmd | ||
|
||
func parseArgs(args []string) []string { | ||
var cargs []string | ||
for _, a := range args { | ||
if a == "--legacy" { | ||
globalOptions.Legacy = true | ||
continue | ||
} | ||
if a == "--verbose" { | ||
globalOptions.Verbose = true | ||
continue | ||
} | ||
if a == "--silent" { | ||
globalOptions.Silent = true | ||
continue | ||
} | ||
if a == "--ignore-imports" { | ||
globalOptions.IgnoreImports = true | ||
continue | ||
} | ||
cargs = append(cargs, a) | ||
} | ||
return cargs | ||
} |