Skip to content

jcgay/chtignore

Repository files navigation

chtignore

Print .gitignore template from https://github.com/github/gitignore in standard output.

Installation

Binaries

Darwin (Apple Mac)

Linux

MS Windows

From source, clone the repository, then

go install

Usage

chtignore Java

will output:

# Java
*.class

# Mobile Tools for Java (J2ME)
.mtj.tmp/

# Package Files #
*.jar
*.war
*.ear

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

Use multiple arguments to get separate templates at once:

chtignore Go JetBrains

Use list to discover available templates:

chtignore list

Build

Status

Build Status Code Report Coverage Status

Release

  • Configure Bintray deployment in .goxc.local.json:
{
    "ConfigVersion": "0.9",
    "TaskSettings": {
        "bintray": {
            "apikey": "12d312314235afe56090932ea13234"
        }
    }
}
  • run goxc default bintray

List available tasks

goxc -h tasks