updated drone config
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
3ff775b4aa
commit
be06978763
10
.drone.yml
10
.drone.yml
|
@ -31,7 +31,7 @@ pipeline:
|
||||||
event: [ push, tag, pull_request ]
|
event: [ push, tag, pull_request ]
|
||||||
|
|
||||||
# Build a release when tagging
|
# Build a release when tagging
|
||||||
static-build:
|
static:
|
||||||
image: karalabe/xgo-latest:latest
|
image: karalabe/xgo-latest:latest
|
||||||
pull: true
|
pull: true
|
||||||
group: build-static
|
group: build-static
|
||||||
|
@ -52,8 +52,8 @@ pipeline:
|
||||||
bucket: sofaraum-client
|
bucket: sofaraum-client
|
||||||
endpoint: https://storage.kolaente.de
|
endpoint: https://storage.kolaente.de
|
||||||
path_style: true
|
path_style: true
|
||||||
strip_prefix: dist/zip/
|
strip_prefix: dist/binaries/
|
||||||
source: dist/zip/*
|
source: dist/binaries/*
|
||||||
target: /${DRONE_TAG##v}
|
target: /${DRONE_TAG##v}
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
|
@ -65,8 +65,8 @@ pipeline:
|
||||||
bucket: sofaraum-client
|
bucket: sofaraum-client
|
||||||
endpoint: https://storage.kolaente.de
|
endpoint: https://storage.kolaente.de
|
||||||
path_style: true
|
path_style: true
|
||||||
strip_prefix: dist/zip/
|
strip_prefix: dist/binaries/
|
||||||
source: dist/zip/*
|
source: dist/binaries/*
|
||||||
target: /master
|
target: /master
|
||||||
when:
|
when:
|
||||||
event: [ push ]
|
event: [ push ]
|
||||||
|
|
28
Readme.md
28
Readme.md
|
@ -1,3 +1,31 @@
|
||||||
# Sofaraum Client
|
# Sofaraum Client
|
||||||
|
|
||||||
|
[![Build Status](https://drone.kolaente.de/api/badges/sofaraum/client/status.svg)](https://drone.kolaente.de/sofaraum/client)
|
||||||
|
[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](LICENSE)
|
||||||
|
[![Download](https://img.shields.io/badge/download-latest-brightgreen.svg)](https://storage.kolaente.de/minio/sofaraum-client/)
|
||||||
|
[![Go Report Card](https://goreportcard.com/badge/git.kolaente.de/sofaraum/client)](https://goreportcard.com/report/git.kolaente.de/sofaraum/client)
|
||||||
|
|
||||||
A client which looks for wifi devices to then send an aggregated number to the Sofaraum Server.
|
A client which looks for wifi devices to then send an aggregated number to the Sofaraum Server.
|
||||||
|
|
||||||
|
**Note:** This client need `aircrack-ng` to function properly. The only thing this client does is parsing dumps from
|
||||||
|
`aircrack-ng` and sending them away.
|
||||||
|
|
||||||
|
## Build from source
|
||||||
|
|
||||||
|
This Project uses Go modules, so you'll need at least `go 1.11`.
|
||||||
|
|
||||||
|
As a typical go project, this one comes with all its depencencies, so all you have to do is running
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make build
|
||||||
|
```
|
||||||
|
|
||||||
|
and you should have a ready-to-use binary.
|
||||||
|
|
||||||
|
If you want to compile for Linux (arm included), Windows and MacOS, run
|
||||||
|
|
||||||
|
```bash
|
||||||
|
make release
|
||||||
|
```
|
||||||
|
|
||||||
|
This will create all binaries in `dist/`.
|
Loading…
Reference in New Issue