Add some development information per #81 and #65 #84

Manually merged
asdf merged 5 commits from support-different-go-versions into develop 2019-11-12 03:23:14 +00:00
Collaborator

This adds some basic and general information about development, testing standard and linting standard.

The makefile has a new target to test against go1.11.13.

This is my intended resolution for #81 and also some additional coverage for #65.

This adds some basic and general information about development, testing standard and linting standard. The makefile has a new target to test against go1.11.13. This is my intended resolution for #81 and also some additional coverage for #65.
asdf self-assigned this 2019-11-12 02:11:09 +00:00
sloum was assigned by asdf 2019-11-12 02:11:09 +00:00
asdf added the
non-code
non-functional
documentation
build
labels 2019-11-12 02:11:09 +00:00
sloum approved these changes 2019-11-12 03:08:06 +00:00
@ -6,6 +6,7 @@ BINDIR := ${EXEC_PREFIX}/bin
DATAROOTDIR := ${PREFIX}/share
MANDIR := ${DATAROOTDIR}/man
MAN1DIR := ${MANDIR}/man1
test : GOCMD := go1.11.13
Owner

I have not seen this construct in a Makefile. I assume this scopes GOCMD to test?

I have not seen this construct in a Makefile. I assume this scopes GOCMD to test?
Author
Collaborator

Yes, for the target test, the GOCMD variable is set to go1.11.13. It is also still possible to override it from the command line if you really like.

Yes, for the target test, the GOCMD variable is set to go1.11.13. It is also still possible to override it from the command line if you really like.
@ -49,1 +50,4 @@
rm -f ${DESTDIR}${BINDIR}/${BINARY}
.PHONY: test
test: clean build
Owner

So test in this case does not run tests, it creates a build with the standardized version so that we can know that it will build on t hat version, yeah?

So test in this case does not run tests, it creates a build with the standardized version so that we can know that it _will_ build on t hat version, yeah?
Author
Collaborator

Yes, that's exactly right. It is also possible to expand it to include commands like go test.

Yes, that's exactly right. It is also possible to expand it to include commands like `go test`.
Owner

Cool. Looks good!

Cool. Looks good!
README.md Outdated
@ -128,0 +130,4 @@
Following the standard install instructions should lead you to have nearly everything you need to commence development. The only additions to this are:
- To be able to submit pull requests, you will need to fork this repository first.
- Bombadillo must be tested against Go 1.11 to ensure backward compatibility. This version can be installed as per the [Go install documentation](https://golang.org/doc/install#extra_versions). Tests for this version are run using 'make test'.
Owner

It seems as though make test does not actually run tests (at present at least), should we reword this for the time being to say that it will generate a test build with that version of the compiler?

It seems as though `make test` does not actually run tests (at present at least), should we reword this for the time being to say that it will generate a test build with that version of the compiler?
Author
Collaborator

OK I'll make that clearer, thanks for the feedback.

OK I'll make that clearer, thanks for the feedback.
Owner

I approve this pull. Just a couple'a comments/questions.

I approve this pull. Just a couple'a comments/questions.
asdf closed this pull request 2019-11-12 03:23:13 +00:00
asdf deleted branch support-different-go-versions 2019-11-12 03:23:23 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sloum/bombadillo#84
No description provided.