Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vendor import better error #5

Conversation

hyper0x
Copy link
Owner

@hyper0x hyper0x commented Sep 18, 2015

No description provided.

davecheney and others added 30 commits September 15, 2015 11:22
Introduce new package gb/log. Perhaps one day this can be outsourced
to a 3rd party.
Remove log.Errorf, it was only used in one place.
Remove log.Warnf, it was not used.
Fixes #340

No accessors to change linkmode and buildmode because we don't
support anything except buildmode=exe, and linkmode defaults to
automatic.
Fixes #366

```
% gb info
GB_PROJECT_DIR="/Users/dfc"
GB_SRC_PATH="/Users/dfc/src:/Users/dfc/vendor/src"
GB_PKG_DIR="/Users/dfc/pkg/darwin-amd64"
GB_BIN_SUFFIX="-darwin-amd64"
```
build: add test for cgo main with .cpp files (extern "C" linkage)
cmd/gb: gb info report pkg path and bin suffix
Fix: Clean working directory
Fixes #372

Use a unique temporary directory for cgo build files.
cgo: use unique directory for build
The gb test command advertises support for all valid
flags to gb build (e.g. -P), but the logic which determines which flags
should be sent to the test binary was not aware of them and blithely
passed them through. Add all valid build flags to the map indicating
they are meant for gb and not to passed through.
Avoid passing build flags to test process.
Fixes #375

The test for Package.isMain had a loophole where a main package,
being built as a test would be linked.

- [ ] Add unit test for Package.isMain
test: do not build a main package called main in test scope
cgo: support cgo packages that use c++
Pin wercker to go 1.4.2 (box v1.3.3)
Refactor Package.Objdir into Workdir(pkg)
Refactor cgoobjdir to cgoworkdir to reflect the Workdir(pkg) change
hyper0x pushed a commit that referenced this pull request Sep 18, 2015
@hyper0x hyper0x merged commit 6ecd773 into hyper0x:vendor-import-better-error Sep 18, 2015
@davecheney davecheney deleted the vendor-import-better-error branch November 25, 2015 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants