Browse Source

Migrate to GitLab

master
Trevor Slocum 2 years ago
parent
commit
46712e512c
  1. 21
      .builds/amd64_freebsd.yml
  2. 21
      .builds/amd64_linux_alpine.yml
  3. 8
      .gitlab-ci.yml
  4. 13
      README.md
  5. 2
      go.mod

21
.builds/amd64_freebsd.yml

@ -1,21 +0,0 @@
arch: amd64
environment:
PROJECT_DIR: '~/go/src/git.sr.ht/~tslocum'
PROJECT_NAME: 'desktop'
CGO_ENABLED: '0'
GO111MODULE: 'on'
image: freebsd/latest
packages:
- go
sources:
- https://git.sr.ht/~tslocum/desktop
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 ./...

21
.builds/amd64_linux_alpine.yml

@ -1,21 +0,0 @@
arch: x86_64
environment:
PROJECT_DIR: '~/go/src/git.sr.ht/~tslocum'
PROJECT_NAME: 'desktop'
CGO_ENABLED: '0'
GO111MODULE: 'on'
image: alpine/edge
packages:
- go
sources:
- https://git.sr.ht/~tslocum/desktop
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 ./...

8
.gitlab-ci.yml

@ -0,0 +1,8 @@
stages:
- test
test:
image: golang:latest
stage: test
script:
- go test -v ./...

13
README.md

@ -1,8 +1,17 @@
# desktop
[![GoDoc](https://godoc.org/git.sr.ht/~tslocum/desktop?status.svg)](https://godoc.org/git.sr.ht/~tslocum/desktop)
[![builds.sr.ht status](https://builds.sr.ht/~tslocum/desktop.svg)](https://builds.sr.ht/~tslocum/desktop)
[![GoDoc](https://godoc.org/gitlab.com/tslocum/desktop?status.svg)](https://godoc.org/gitlab.com/tslocum/desktop)
[![CI status](https://gitlab.com/tslocum/desktop/badges/master/pipeline.svg)](https://gitlab.com/tslocum/desktop/commits/master)
[![Donate](https://img.shields.io/liberapay/receives/rocketnine.space.svg?logo=liberapay)](https://liberapay.com/rocketnine.space)
Desktop entry scanner and parser
Linux is currently the only supported operating system. Windows support is planned.
## Documentation
Documentation is available via [gdooc](https://godoc.org/gitlab.com/tslocum/desktop).
## Support
Please share issues/suggestions [here](https://gitlab.com/tslocum/desktop/issues).

2
go.mod

@ -1,4 +1,4 @@
module git.sr.ht/~tslocum/desktop
module gitlab.com/tslocum/desktop
go 1.12

Loading…
Cancel
Save