diff --git a/.pluginsync.yml b/.pluginsync.yml index 139f660..edbf030 100644 --- a/.pluginsync.yml +++ b/.pluginsync.yml @@ -1,4 +1,5 @@ -pluginsync_config: '0.1.6' +# File managed by pluginsync +pluginsync_config: '0.1.7' managed_files: - .github - .github/ISSUE_TEMPLATE.md diff --git a/.sync.yml b/.sync.yml index 67561bc..5992c2b 100644 --- a/.sync.yml +++ b/.sync.yml @@ -1,4 +1,11 @@ ---- +:global: + build: + matrix: + - GOOS: linux + GOARCH: amd64 + - GOOS: darwin + GOARCH: amd64 + maintainer: core .travis.yml: sudo: true services: diff --git a/.travis.yml b/.travis.yml index df297e4..dd4e69c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -65,6 +65,7 @@ deploy: secure: ozKcVu2076vJtKde0osjHcaTFl7lcy0XEqr9AZ6VeZ5EOWCvxxj/z+XOX3ocunUrdPpbyJtjPSUBUwFfbsbE7fSzCMSJDcSQkFgNm3xSmvRFf78/c2Z6B4DEuq0F8dM1+vsDd1hEW6VIC+gNj263a34JtdfYNH/+rpKvqsMgK93J7yQoImUaZz9gnaifatydvOBiqbffDyx7lJj9ikXGMG383upnGngoXk1O19qRW1xZeIG5JLoJF8HnCT+YMx2L7vUZ/Indbm8C8Eacoy631prkPcJbMg1Wf0t7hGSa61P2wCZf/+04bbimt6hvImA+8Oc4pRxXgZLJ6a3nT9MMQvNCICWeBqzmMoaTo69Y6jP+RUdARYYOC4VTEd8NPAdtqWJbH1RCFF6oeMm4m+urgQDwuVwml/Mqegww+T2yjuUmpUGSK1fn6C268T4HV+PzZK8eYkd0BNjOaFuycZ1D76mia0dW4QTjPfK9CzydV+rduM/wjQvytJ8D+FK/CEI7AZepnCpabDu5nwYSipsEW4O5pKYMOhL6cv6B+LhKYQ6YnKlYURJ9qer0iKUHbet38N8y12EI1Ew2yOZcnlRdHzoeUolx/oaF8kXRkc+TcUvuypSoPSHfRMuIP3xJ9KCbC5u90afm7HPuYFn+WvJFryg4MxeJnpIYdZTk/3pKLGo= file: - release/snap-plugin-publisher-influxdb_linux_x86_64 + - release/snap-plugin-publisher-influxdb_darwin_x86_64 skip_cleanup: true on: repo: intelsdi-x/snap-plugin-publisher-influxdb diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2522e51..2344827 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,19 +20,20 @@ Once you're ready to contribute code back to this repo, start with these steps: * Clone the fork to `$GOPATH/src/github.com/intelsdi-x/`: ``` -$ git clone https://github.com//.git +$ cd "${GOPATH}/src/github.com/intelsdi-x/" +$ git clone https://github.com/intelsdi-x/snap-plugin-publisher-influxdb.git ``` * Create a topic branch for your change and checkout that branch: ``` - $ git checkout -b some-topic-branch +$ git checkout -b some-topic-branch ``` * Make your changes and run the test suite if one is provided. * Commit your changes and push them to your fork. * Open a pull request for the appropriate project. * Contributors will review your pull request, suggest changes, and merge it when it’s ready and/or offer feedback. -If you have questions feel free to contact the [maintainers](https://github.com/intelsdi-x/snap/blob/master/README.md#maintainers) by tagging them: @intelsdi-x/plugin-maintainers. +If you have questions feel free to contact the [maintainers](https://github.com/intelsdi-x/snap/blob/master/README.md#maintainers). ## Contributing Examples The most immediately helpful way you can benefit this project is by cloning the repository, adding some further examples and submitting a pull request. diff --git a/LICENSE b/LICENSE index d645695..f433b1a 100644 --- a/LICENSE +++ b/LICENSE @@ -175,28 +175,3 @@ of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/scripts/build.sh b/scripts/build.sh index 58b6d41..dd1f612 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -46,3 +46,7 @@ export GOOS=linux export GOARCH=amd64 mkdir -p "${build_dir}/${GOOS}/x86_64" "${go_build[@]}" -o "${build_dir}/${GOOS}/x86_64/${plugin_name}" . || exit 1 +export GOOS=darwin +export GOARCH=amd64 +mkdir -p "${build_dir}/${GOOS}/x86_64" +"${go_build[@]}" -o "${build_dir}/${GOOS}/x86_64/${plugin_name}" . || exit 1