Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

gb build does not create bin folder and binary in bin folder #722

@mg03

Description

@mg03

When i run a gb build , it does not generate the project binary nor does it generate the bin folder
The following is the project structure . (i have set DEBUG=true)

pwd
/Users/go_workspace/alert_website

ls 
src	vendor

gb list
2017/05/28 18:15:32 depfile.go:184: loading depfile at "/Users/go_workspace/alert_website/depfile"
2017/05/28 18:15:32 depfile.go:32: no depfile, nothing to do.
2017/05/28 18:15:32 context.go:319: project root "/Users/go_workspace/alert_website"
cache
cache/memory
cache/redis
conf
2017/05/28 18:15:32 context.go:303: removing work directory: /var/folders/tk/40ntfp_91gl9zbvytjx7zwgd_8h2q9/T/gb338538159

gb env
2017/05/28 18:15:53 depfile.go:184: loading depfile at "/Users/go_workspace/alert_website/depfile"
2017/05/28 18:15:53 depfile.go:32: no depfile, nothing to do.
2017/05/28 18:15:53 context.go:319: project root "/Users/go_workspace/alert_website"
GB_PROJECT_DIR="/Users/go_workspace/alert_website"
GB_SRC_PATH="/Users/go_workspace/alert_website/src:/Users/go_workspace/alert_website/vendor/src"
GB_PKG_DIR="/Users/go_workspace/alert_website/pkg/darwin-amd64"
GB_BIN_SUFFIX="-darwin-amd64"
GB_GOROOT="/usr/local/Cellar/go/1.8.1/libexec"
2017/05/28 18:15:53 context.go:303: removing work directory: /var/folders/tk/40ntfp_91gl9zbvytjx7zwgd_8h2q9/T/gb206971735

go env
GOARCH="amd64"
GOBIN="/Users/go_workspace/bin"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/go_workspace"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.8.1/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.8.1/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

gb info
2017/05/28 18:19:53 depfile.go:184: loading depfile at "/Users/go_workspace/alert_website/depfile"
2017/05/28 18:19:53 depfile.go:32: no depfile, nothing to do.
2017/05/28 18:19:53 context.go:319: project root "/Users/go_workspace/alert_website"
GB_PROJECT_DIR="/Users/go_workspace/alert_website"
GB_SRC_PATH="/Users/go_workspace/alert_website/src:/Users/go_workspace/alert_website/vendor/src"
GB_PKG_DIR="/Users/go_workspace/alert_website/pkg/darwin-amd64"
GB_BIN_SUFFIX="-darwin-amd64"
GB_GOROOT="/usr/local/Cellar/go/1.8.1/libexec"
2017/05/28 18:19:53 context.go:303: removing work directory: /var/folders/tk/40ntfp_91gl9zbvytjx7zwgd_8h2q9/T/gb934120865

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions