This commit is contained in:
parent
4d592bd3d1
commit
8df1e025c2
46
.drone.yml
Normal file
46
.drone.yml
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
kind: pipeline
|
||||||
|
name: tests
|
||||||
|
steps:
|
||||||
|
- name: test-linux
|
||||||
|
image: rust
|
||||||
|
commands:
|
||||||
|
- cargo test -v
|
||||||
|
|
||||||
|
# Try to build docker image
|
||||||
|
- name: test-docker-build
|
||||||
|
image: plugins/docker
|
||||||
|
settings:
|
||||||
|
repo: lordmzte/ruff
|
||||||
|
# Don't push
|
||||||
|
dry_run: true
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: release
|
||||||
|
steps:
|
||||||
|
- name: release-linux
|
||||||
|
image: rust
|
||||||
|
commands:
|
||||||
|
- cargo build --release -v
|
||||||
|
|
||||||
|
- name: release-win
|
||||||
|
image: lordmzte/rust-win
|
||||||
|
commands:
|
||||||
|
- cargo build --release --target x86_64-pc-windows-gnu -v
|
||||||
|
|
||||||
|
- name: publish
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
base_url: https://data.tilera.xyz/git
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
note: CHANGELOG.md
|
||||||
|
title: tag-${DRONE_TAG}
|
||||||
|
files:
|
||||||
|
- target/release/ruff
|
||||||
|
- target/x86_64-pc-windows-gnu/release/ruff.exe
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
depends_on:
|
||||||
|
- release-linux
|
||||||
|
- release-win
|
||||||
|
|
5
CHANGELOG.md
Normal file
5
CHANGELOG.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
v0.1.0
|
||||||
|
# ruff
|
||||||
|
initial release
|
||||||
|
- does everything to old uffbot could
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
# RUFF
|
# RUFF
|
||||||
|
|
||||||
|
[![Build Status](https://drone.tilera.xyz/api/badges/LordMZTE/RUFF/status.svg)](https://drone.tilera.xyz/LordMZTE/RUFF)
|
||||||
|
|
||||||
The successor to ITbyHF's crappy golang UFFbot written in rust and compatible with most chat platforms through matterbridge.
|
The successor to ITbyHF's crappy golang UFFbot written in rust and compatible with most chat platforms through matterbridge.
|
||||||
|
|
||||||
## Compiling
|
## Compiling
|
||||||
|
|
Loading…
Reference in a new issue