Skip to content
Snippets Groups Projects
Commit a5fa77b2 authored by nimrod's avatar nimrod
Browse files

Mainly placeholder

Added license, basic tests (mostly copied from the Python version),
small README, Travis CI and a 'Hello world' placeholder.
parent c55c14f9
No related branches found
No related tags found
No related merge requests found
~*
*~
*.sw[op]
*.py[cod]
.DS_Store
__pycache__/
.vagrant/
vendor/
Thumbs.db
*.retry
.svn/
.sass-cache/
*.log
*.out
*.so
node_modules/
.npm/
nbproject/
*.ipynb
.idea/
*.egg-info/
*.[ao]
.classpath
.cache/
bower_components/
*.class
*.[ewj]ar
secring.*
.*.kate-swp
.swp.*
.directory
.Trash-*
build/
_build/
dist/
.tox/
*.pdf
*.exe
*.dll
*.gz
*.tgz
*.tar
*.rar
*.zip
*.pid
*.lock
*.env
.bundle/
go-template
- repo: https://github.com/pre-commit/pre-commit-hooks
sha: v1.1.1
hooks:
- id: check-added-large-files
- id: check-merge-conflict
- id: check-symlinks
- id: check-yaml
---
sudo: false
distro: trusty
group: beta
notification:
email: false
on_failure: never
language: go
go: "1.9"
matrix:
include:
# CLI tests using BATS
-
before_install:
- git clone --depth 1 https://github.com/sstephenson/bats "$HOME/bats"
env:
PATH: "$HOME/bats/bin:$PATH"
script:
- bats -t tests/
cache:
- $GOPATH/pkg/
# pre-commit checks
-
addons:
apt:
packages:
- python3-pip
install:
- pip install --user pre-commit
script:
- pre-commit run --all-files
cache:
- $HOME/.pre-commit/
- pip
env:
PATH: "$HOME/.local/bin:$PATH"
This diff is collapsed.
# go-template
A CLI tool for generating files from Go templates and environment variables.
A reimplementation of [template](https://www.shore.co.il/git/template) written
in [Go](http://golang.org/)
## Usage
## License
This software is licensed under the AGPL 3+ license (see the `LICENSE.txt`
file).
## Author Information
Nimrod Adar, [contact me](mailto:nimrod@shore.co.il) or visit my [website](
https://www.shore.co.il/). Patches are welcome via [`git send-email`](
http://git-scm.com/book/en/v2/Git-Commands-Email). The repository is located
at: <https://www.shore.co.il/git/>.
0.0.1
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello world.")
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment