Skip to content

Commit

Permalink
update path
Browse files Browse the repository at this point in the history
  • Loading branch information
vipally committed Feb 19, 2021
1 parent 394185a commit 6567dca
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/gogp/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
package main

import (
"github.com/gxlb/gogp"
"github.com/vipally/cmdline"
"github.com/vipally/cpright"
"github.com/vipally/gogp"
)

func main() {
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.15
require (
github.com/vipally/cmdline v0.0.0-20200404124829-ea1e34f654ec
github.com/vipally/cpright v0.0.0-20161005151456-25b84bafd267
github.com/vipally/gogp v0.0.0-20170420075522-df97450d9feb
github.com/gxlb/gogp v0.0.0-20170420075522-df97450d9feb
)

replace github.com/vipally/gogp => ./
replace github.com/gxlb/gogp => ./
2 changes: 1 addition & 1 deletion lib/lib.gpg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
;this is an example of gogp reverse usage: generate .gp file form .gpg and .go file, sectionname must be lead with GOGP_REVERSE
;other section is used to do the next thing, gen .go file from .gpg and .gp file
[GOGP_REVERSE_fakedef]
GOGP_GpFilePath=github.com/vipally/gogp/lib/fakedef
GOGP_GpFilePath=github.com/gxlb/gogp/lib/fakedef
4 changes: 2 additions & 2 deletions processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"strings"
"time"

"github.com/vipally/gogp/ini"
"github.com/gxlb/gogp/ini"
)

//cases of template replacing
Expand Down Expand Up @@ -639,7 +639,7 @@ func (this *gopgProcessor) doPredefReplace(gpPath, content, section string, nDep
reqn = this.getGpgCfg(section, reqgpg, true)
}

if !gSilence && i > 1 {
if !gSilence && i > 1 || gDebug {
fmt.Printf("##src=[%#v]\n i=%d ignore=[%s] req=[%s] reqp=[%s] reqn=[%s] reqgpg=[%s] gpgcfg=[%s] once=[%s] repsrc=[%s] repdst=[%s]\n",
src, i, ignore, req, reqp, reqn, reqgpg, gpgcfg, once, repsrc, repdst)
}
Expand Down

0 comments on commit 6567dca

Please sign in to comment.