Skip to content

KennethanCeyer/danger-go

Repository files navigation

danger-go

Build Status License License

A Dangerfile for golang developer (golint)

Getting Started

Demo

DEMO

Installation

$ 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.

$ go get golang.org/x/lint/golint

Usage

Basic

Put follows line into your Dangerfile.

golint.lint

Development

Install

Clone this repo

$ git clone https://github.com/KennethanCeyer/danger-go.git

Run bundler to download dependencies

$ bundle install

Run rake spec to test

$ bundle exec rake spec

Use guard to automatically have tests run as you make changes

$ 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.

About

💎 A Dangerfile for golang developer (golint)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages