more cleanups on usefulness
This commit is contained in:
parent
47cd26fbab
commit
cf83bbf6ac
2
Makefile
2
Makefile
|
@ -25,7 +25,7 @@ build: goimports vet plugin
|
||||||
install: goimports vet plugin
|
install: goimports vet plugin
|
||||||
GO111MODULE=off go install \
|
GO111MODULE=off go install \
|
||||||
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
|
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
|
||||||
cp -f ~/go/bin/forge ~/go/bin/last.forge # this is a hack so that go-deb can build a .deb file for forge
|
cp -f ~/go/bin/forge ~/go/bin/last.forge # this is a hack so that go-deb can build a .deb file for forge # TODO: remove this
|
||||||
|
|
||||||
install-raw: goimports vet plugin
|
install-raw: goimports vet plugin
|
||||||
go install \
|
go install \
|
||||||
|
|
|
@ -73,6 +73,11 @@ func doCommit() {
|
||||||
if err := shell.ExecCheck([]string{"git", "commit", "--all"}); err != nil {
|
if err := shell.ExecCheck([]string{"git", "commit", "--all"}); err != nil {
|
||||||
badExit(err)
|
badExit(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
_, err := me.forge.SubmitDevelPatchSet("forge auto commit")
|
||||||
|
if err != nil {
|
||||||
|
badExit(err)
|
||||||
|
}
|
||||||
log.Info("git commit ok. forge done")
|
log.Info("git commit ok. forge done")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue