Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KennethanCeyer/danger-go
:gem: A Dangerfile for golang developer (golint)
https://github.com/KennethanCeyer/danger-go
danger devops golang golint jenkins travis
Last synced: about 3 hours ago
JSON representation
:gem: A Dangerfile for golang developer (golint)
- Host: GitHub
- URL: https://github.com/KennethanCeyer/danger-go
- Owner: KennethanCeyer
- License: mit
- Created: 2019-04-16T06:40:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-09T22:30:13.000Z (almost 2 years ago)
- Last Synced: 2024-10-31T00:04:19.627Z (12 days ago)
- Topics: danger, devops, golang, golint, jenkins, travis
- Language: Ruby
- Homepage:
- Size: 1.51 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-danger - danger-go - A Danger plugin for Golang. (Plugins / Ruby (danger))
README
danger-go
A Dangerfile for golang developer (golint)
## Getting Started
### Demo
![DEMO](./docs/images/demo.png)
### Installation
```bash
$ gem install danger-go
```### Requirements
Make sure your system has follows requirements
- go
- golint**golint**
This project uses `golint` as default lint toolchain,
The code will try to install when your system does not have golint tool,
However, If you want to ensure to install golint,
Use follows line.```bash
$ go get golang.org/x/lint/golint
```## Usage
### Basic
Put follows line into your `Dangerfile`.
```ruby
golint.lint
```## Development
### Install
**Clone this repo**
```bash
$ git clone https://github.com/KennethanCeyer/danger-go.git
```**Run bundler to download dependencies**
```bash
$ bundle install
```**Run rake spec to test**
```bash
$ bundle exec rake spec
```**Use guard to automatically have tests run as you make changes**
```bash
$ bundle exec guard
```## License
This project is under MIT License
MIT License
Copyright (c) 2019 PIGNOSE
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.