This commit is contained in:
Joe Bellus 2022-10-16 14:10:06 -04:00
parent 49d7e561db
commit 4492a28bdb
2 changed files with 28 additions and 1 deletions

View File

@ -38,7 +38,7 @@ fn build_ui() -> impl Widget<AppData> {
fn main() -> Result<(), PlatformError> {
AppLauncher::with_window(
WindowDesc::new(build_ui())
.resizable(false)
.resizable(true)
.window_size((600.0, 800.0)),
)
.delegate(app_delegate::Delegate)

27
drone.yml Normal file
View File

@ -0,0 +1,27 @@
kind: pipeline
name: default
steps:
- name: test
image: rust:latest
commands:
- rustup component add clippy
- cargo clippy
- cargo test --all
- name: deploy
image: rust:latest
commands:
- cargo build --release
- tar cvzf conductor.tar.gz -C target/release conductor
- wget https://dl.min.io/client/mc/release/linux-amd64/mc
- chmod +x mc
- ./mc alias set fivesigma https://objects.5sigma.io $MINIOID $MINIOSECRET
- ./mc cp conductor.tar.gz fivesigma/public/conductor.tar.gz
# when:
# event:
# - promote
# target:
# - staging
# - production