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
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+49 −0
Original line number Diff line number Diff line
~*
*~
*.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
+7 −0
Original line number Diff line number Diff line
-   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

.travis.yml

0 → 100644
+38 −0
Original line number Diff line number Diff line
---
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"

LICENSE.txt

0 → 100644
+661 −0

File added.

Preview size limit exceeded, changes collapsed.

README.md

0 → 100644
+19 −0
Original line number Diff line number Diff line
# 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/>.
Loading