Skip to content

Commit dcdf288

Browse files
committed
Some cleanups
- Add dep - Add contributors info - Add some makefile things - Add docker Signed-off-by: Matt Stratton <matt.stratton@gmail.com>
1 parent 84823bc commit dcdf288

9 files changed

Lines changed: 406 additions & 5 deletions

File tree

.editorconfig

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# EditorConfig is awesome: http://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
11+
# Matches multiple files with brace expansion notation
12+
# Set default charset
13+
[*.{go}]
14+
charset = utf-8
15+
indent_style = space
16+
indent_size = 2
17+
18+
# Tab indentation (no size specified)
19+
[Makefile]
20+
indent_style = tab

.github/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Number of days of inactivity before an issue becomes stale
22
daysUntilStale: 60
33
# Number of days of inactivity before a stale issue is closed
4-
daysUntilClose: 7
4+
daysUntilClose: 120
55
# Issues with these labels will never be considered stale
66
exemptLabels:
77
- pinned

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ addons:
77
- rpm
88
go: 1.9
99
before_install:
10-
- make setup
10+
- make deps
11+
# - make restore # only after using dep
1112
- export DODPATH=$HOME/gopath/src/github.com/devopsdays/devopsdays-cli/testdata
1213
- gem install fpm
1314
install:
15+
- export CI=TRAVIS # for gotest to force colors
1416
- make install
1517
script:
1618
- make travis

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ $ cd $_
2020
$ git clone git@github.com:devopsdays/devopsdays-cli.git .
2121
```
2222

23-
Install the build and lint dependencies:
23+
Install the Go dependencies:
2424

2525
```console
26-
$ make setup
26+
$ make deps
2727
```
2828

2929
Before starting your own work, ensure the setup is good by running the test suite:

CONTRIBUTORS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Contributors
2+
3+
## Maintainers
4+
* Matt Stratton @mattstratton

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM scratch
2+
ADD bin/devopsdays-cli_*_linux_amd64 /devopsdays-cli
3+
CMD ["/devopsdays-cli"]

Gopkg.lock

Lines changed: 258 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)