From be06978763958783d19612a5e57988e7c29bb7c2 Mon Sep 17 00:00:00 2001 From: konrad Date: Thu, 29 Nov 2018 01:27:24 +0100 Subject: [PATCH] updated drone config --- .drone.yml | 10 +++++----- Readme.md | 28 ++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/.drone.yml b/.drone.yml index 261aa18..502ff70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -31,7 +31,7 @@ pipeline: event: [ push, tag, pull_request ] # Build a release when tagging - static-build: + static: image: karalabe/xgo-latest:latest pull: true group: build-static @@ -52,8 +52,8 @@ pipeline: bucket: sofaraum-client endpoint: https://storage.kolaente.de path_style: true - strip_prefix: dist/zip/ - source: dist/zip/* + strip_prefix: dist/binaries/ + source: dist/binaries/* target: /${DRONE_TAG##v} when: event: [ tag ] @@ -65,8 +65,8 @@ pipeline: bucket: sofaraum-client endpoint: https://storage.kolaente.de path_style: true - strip_prefix: dist/zip/ - source: dist/zip/* + strip_prefix: dist/binaries/ + source: dist/binaries/* target: /master when: event: [ push ] diff --git a/Readme.md b/Readme.md index 64f784c..cb046e2 100644 --- a/Readme.md +++ b/Readme.md @@ -1,3 +1,31 @@ # 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. + +**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/`. \ No newline at end of file