From c7445cc5aa47e95e702ad23614d803a301e8e6e0 Mon Sep 17 00:00:00 2001 From: "Christoph J. Scherr" Date: Wed, 17 Jan 2024 14:44:20 +0100 Subject: [PATCH 1/3] also CI master --- .gitea/workflows/cargo.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/cargo.yaml b/.gitea/workflows/cargo.yaml index 1e95e1f..017d21c 100644 --- a/.gitea/workflows/cargo.yaml +++ b/.gitea/workflows/cargo.yaml @@ -3,7 +3,7 @@ on: push: branches: - '**' - - '!master' + # - '!master' jobs: format: From b955996ba1895e1cbebf444fbd4dce845a1a082f Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 17 Jan 2024 14:55:07 +0100 Subject: [PATCH 2/3] add publish script --- scripts/publish.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/publish.sh diff --git a/scripts/publish.sh b/scripts/publish.sh new file mode 100755 index 0000000..9714d43 --- /dev/null +++ b/scripts/publish.sh @@ -0,0 +1,4 @@ +#!/bin/bash +cargo ws publish --registry cscherr +cargo ws publish --registry cscherr --no-git-commit --publish-as-is +cargo publish --registry cscherr -p libpt From 742d66cc1b3ab5c91090d793f65e891ed96832fe Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Wed, 17 Jan 2024 14:58:59 +0100 Subject: [PATCH 3/3] hopefully fix hedu --- Cargo.toml | 4 ++-- src/hedu/mod.rs | 5 ----- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f3347b4..d9670ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -49,13 +49,13 @@ keywords.workspace = true categories.workspace = true [features] -default = ["log", "core"] +default = ["log", "core", "bin"] core = [] math = [] log = [] bintols = [] net = [] -bin = ["dep:clap", "dep:clap-num", "dep:clap-verbosity-flag"] +bin = ["dep:clap", "dep:clap-num", "dep:clap-verbosity-flag", "math", "bintols"] [lib] name = "libpt" diff --git a/src/hedu/mod.rs b/src/hedu/mod.rs index fca39ee..4e72881 100644 --- a/src/hedu/mod.rs +++ b/src/hedu/mod.rs @@ -88,11 +88,6 @@ pub struct Cli { /// If left empty or set as "-", the program will read from stdin. pub data_source: Option, } -impl Cli { - fn parse() -> Cli { - todo!() - } -} //// IMPLEMENTATION ////////////////////////////////////////////////////////////////////////////////