tracking down bugs
This commit is contained in:
parent
fcbc000fcf
commit
81d34e86a1
7
Makefile
7
Makefile
|
@ -22,10 +22,15 @@ build:
|
||||||
GO111MODULE=off go build \
|
GO111MODULE=off go build \
|
||||||
-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}"
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f go.*
|
||||||
|
-rm resources/*.so
|
||||||
|
touch resources/blank.so
|
||||||
|
|
||||||
install: goimports
|
install: goimports
|
||||||
touch resources/blank.so
|
touch resources/blank.so
|
||||||
-rm resources/*.so
|
-rm resources/*.so
|
||||||
-cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/
|
# -cp -a ~/go/src/go.wit.com/toolkits/*/*.so resources/
|
||||||
touch resources/blank.so
|
touch resources/blank.so
|
||||||
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}"
|
||||||
|
|
5
main.go
5
main.go
|
@ -120,11 +120,6 @@ func main() {
|
||||||
loop := me.repos.View.ReposSortByName()
|
loop := me.repos.View.ReposSortByName()
|
||||||
for loop.Scan() {
|
for loop.Scan() {
|
||||||
repo := loop.Repo()
|
repo := loop.Repo()
|
||||||
if me.forge.Config.IsReadOnly(repo.GetGoPath()) {
|
|
||||||
repo.Status.SetReadOnly(true)
|
|
||||||
} else {
|
|
||||||
repo.Status.SetReadOnly(false)
|
|
||||||
}
|
|
||||||
if me.forge.Config.IsPrivate(repo.GetGoPath()) {
|
if me.forge.Config.IsPrivate(repo.GetGoPath()) {
|
||||||
// repo.Status.SetPrivate(true)
|
// repo.Status.SetPrivate(true)
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue