aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-12-05Fix `Println` vet warnings to run testsfix-cli-package-compatibilityTeddy Wing
Was getting the following warnings, causing tests to fail: $ go test ./... # github.com/ksubedi/gomove ./ast.go:67:3: Println arg list ends with redundant newline ./ast.go:73:3: Println arg list ends with redundant newline ./native.go:112:3: Println arg list ends with redundant newline ./native.go:121:3: Println arg list ends with redundant newline FAIL github.com/ksubedi/gomove [build failed] FAIL Since Go 1.10, `go test` runs `vet` checks: https://github.com/golang/go/issues/18085 Update the print calls to eliminate the `vet` warnings.
2019-12-05Fix cli package compatibility using Go ModulesTeddy Wing
Recently, the following errors have come up when building: $ go build # github.com/ksubedi/gomove ./main.go:18:5: app.Author undefined (type *cli.App has no field or method Author) ./main.go:21:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal: cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver) ./main.go:26:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal: cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver) ./main.go:30:17: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal: cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver) ./main.go:37:13: cannot use func literal (type func(*cli.Context)) as type cli.ActionFunc in assignment The `github.com/codegangsta/cli` package has been moved to `github.com/urfave/cli`. The latest major version of `github.com/urfave/cli` is now v2, which is incompatible with the version `gomove` expects. Add Go Modules manifest files with: $ go mod init to set a dependency on `github.com/urfave/cli` v1, fixing the build errors. Fixes #6.
2019-11-20Merge pull request #5 from gcarter-comcast/keep-commentsHEADmasterKaushal Subedi
Keep comments in safe mode.
2019-11-01Keep comments in safe mode.Greg Carter
2018-12-13Merge pull request #2 from femaref/masterKaushal Subedi
Ignore files under vendor/ dir
2018-01-20second tryFemaref
2018-01-20document the fact we ignore vendor/Femaref
2018-01-20ignore the vendor path. It can't contain references to the package anyway ↵Femaref
and speeds up performance.
2015-10-27added commentsKaushal Subedi
2015-10-26version bump0.2.17Kaushal Subedi
2015-10-26updated readme with safe modeKaushal Subedi
2015-10-26minor fixesKaushal Subedi
2015-10-26added better text outputsKaushal Subedi
2015-10-26fixed typoKaushal Subedi
2015-10-26updated colors on native processingKaushal Subedi
2015-10-26trimming spaces on console output messagesKaushal Subedi
2015-10-26added checks to make sure non changed files do not get writtenKaushal Subedi
2015-10-26added default value for safe mode to falseKaushal Subedi
2015-10-26added safe mode warningKaushal Subedi
2015-10-26added colors to native processing outputKaushal Subedi
2015-10-26added new flag for safe modeKaushal Subedi
2015-10-26more refactoringKaushal Subedi
2015-10-26minor refactoring and added commentsKaushal Subedi
2015-10-26split ast processing and native processing to different filesKaushal Subedi
2015-10-26added missing commentsKaushal Subedi
2015-10-26only write files if changes were madeKaushal Subedi
2015-10-26changed the way imports are replaced on ASTKaushal Subedi
2015-10-26added processing of go files without using astKaushal Subedi
2015-10-26added warning on readme about the comment stripping issueKaushal Subedi
2015-10-25added link to releases page on readmeKaushal Subedi
2015-10-25added colors to console output0.0.1-pre-releaseKaushal Subedi
2015-10-25initial commitKaushal Subedi