Migrate to GitLab
This commit is contained in:
parent
04e64762ce
commit
f64297e08f
|
@ -1,27 +0,0 @@
|
|||
arch: amd64
|
||||
environment:
|
||||
PROJECT_DIR: '~/go/src/git.sr.ht/~tslocum'
|
||||
PROJECT_NAME: 'stick'
|
||||
CGO_ENABLED: '0'
|
||||
GO111MODULE: 'on'
|
||||
image: freebsd/latest
|
||||
packages:
|
||||
- go
|
||||
sources:
|
||||
- https://git.sr.ht/~tslocum/stick
|
||||
tasks:
|
||||
- setup: |
|
||||
mkdir -p $PROJECT_DIR
|
||||
mv $PROJECT_NAME $PROJECT_DIR/$PROJECT_NAME
|
||||
- deps: |
|
||||
cd $PROJECT_DIR/$PROJECT_NAME
|
||||
go mod download
|
||||
- test: |
|
||||
cd $PROJECT_DIR/$PROJECT_NAME
|
||||
go test
|
||||
- build: |
|
||||
cd $PROJECT_DIR/$PROJECT_NAME
|
||||
go build
|
||||
- run: |
|
||||
cd $PROJECT_DIR/$PROJECT_NAME
|
||||
./$PROJECT_NAME
|
|
@ -1,27 +0,0 @@
|
|||
arch: x86_64
|
||||
environment:
|
||||
PROJECT_DIR: '~/go/src/git.sr.ht/~tslocum'
|
||||
PROJECT_NAME: 'stick'
|
||||
CGO_ENABLED: '0'
|
||||
GO111MODULE: 'on'
|
||||
image: alpine/edge
|
||||
packages:
|
||||
- go
|
||||
sources:
|
||||
- https://git.sr.ht/~tslocum/stick
|
||||
tasks:
|
||||
- setup: |
|
||||
mkdir -p $PROJECT_DIR
|
||||
mv $PROJECT_NAME $PROJECT_DIR/$PROJECT_NAME
|
||||
- deps: |
|
||||
cd $PROJECT_DIR/$PROJECT_NAME
|
||||
go mod download
|
||||
- test: |
|
||||
cd $PROJECT_DIR/$PROJECT_NAME
|
||||
go test
|
||||
- build: |
|
||||
cd $PROJECT_DIR/$PROJECT_NAME
|
||||
go build
|
||||
- run: |
|
||||
cd $PROJECT_DIR/$PROJECT_NAME
|
||||
./$PROJECT_NAME
|
|
@ -0,0 +1,8 @@
|
|||
stages:
|
||||
- test
|
||||
|
||||
test:
|
||||
image: golang:latest
|
||||
stage: test
|
||||
script:
|
||||
- go test -v ./...
|
14
README.md
14
README.md
|
@ -1,6 +1,6 @@
|
|||
# stick
|
||||
[![GoDoc](https://godoc.org/git.sr.ht/~tslocum/stick?status.svg)](https://godoc.org/git.sr.ht/~tslocum/stick)
|
||||
[![builds.sr.ht status](https://builds.sr.ht/~tslocum/stick.svg)](https://builds.sr.ht/~tslocum/stick?)
|
||||
[![GoDoc](https://godoc.org/gitlab.com/tslocum/stick?status.svg)](https://godoc.org/gitlab.com/tslocum/stick)
|
||||
[![CI status](https://gitlab.com/tslocum/stick/badges/master/pipeline.svg)](https://gitlab.com/tslocum/stick/commits/master)
|
||||
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
|
||||
|
||||
Shareable Git-backed Markdown-formatted notes
|
||||
|
@ -23,19 +23,19 @@ Choose one of the following methods:
|
|||
|
||||
### Download
|
||||
|
||||
[**Download stick**](https://stick.rocketnine.space/download/)
|
||||
[**Download stick**](https://stick.rocketnine.space/download/?sort=name&order=desc)
|
||||
|
||||
Windows and Linux binaries are available.
|
||||
|
||||
### Compile
|
||||
|
||||
```
|
||||
GO111MODULE=on go get -u git.sr.ht/~tslocum/stick
|
||||
go get gitlab.com/tslocum/stick
|
||||
```
|
||||
|
||||
## Configure
|
||||
|
||||
See [CONFIGURATION.md](https://man.sr.ht/~tslocum/stick/CONFIGURATION.md)
|
||||
See [CONFIGURATION.md](https://gitlab.com/tslocum/stick/blob/master/CONFIGURATION.md)
|
||||
|
||||
## Run
|
||||
|
||||
|
@ -45,8 +45,8 @@ stick serve
|
|||
|
||||
## Customize
|
||||
|
||||
See [OPTIONS.md](https://man.sr.ht/~tslocum/stick/OPTIONS.md)
|
||||
See [OPTIONS.md](https://gitlab.com/tslocum/stick/blob/master/OPTIONS.md)
|
||||
|
||||
## Support
|
||||
|
||||
Please share suggestions/issues [here](https://todo.sr.ht/~tslocum/stick).
|
||||
Please share issues/suggestions [here](https://gitlab.com/tslocum/stick/issues).
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module git.sr.ht/~tslocum/stick
|
||||
module gitlab.com/tslocum/stick
|
||||
|
||||
go 1.12
|
||||
|
||||
|
|
|
@ -30,7 +30,8 @@ archive:
|
|||
- goos: windows
|
||||
format: zip
|
||||
files:
|
||||
- ./*.md
|
||||
- CHANGELOG
|
||||
- LICENSE
|
||||
- README.md
|
||||
checksum:
|
||||
name_template: 'checksums.txt'
|
||||
|
|
Loading…
Reference in New Issue