Skip to content

Commit e1010ac

Browse files
Merge pull request #122 from code0-tech/121-drop-bundle-feature
Drop Bundle Features
2 parents 5b8b967 + e9bc8c7 commit e1010ac

File tree

4 files changed

+0
-103
lines changed

4 files changed

+0
-103
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -53,27 +53,8 @@ jobs:
5353
- name: Checkout Code
5454
uses: actions/checkout@v5
5555

56-
- name: Install Rust toolchain
57-
uses: dtolnay/rust-toolchain@stable
58-
59-
- name: Cache cargo registry
60-
uses: actions/cache@v4
61-
with:
62-
path: |
63-
~/.cargo/registry
64-
~/.cargo/git
65-
target
66-
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
67-
restore-keys: |
68-
${{ runner.os }}-cargo-
69-
70-
- name: Build project
71-
run: cargo run bundle --path ../definitions --out ../bundles
72-
working-directory: "./crates/cli"
73-
7456
- name: Archive definitions folder
7557
run: |
76-
zip -r bundles.zip bundles
7758
zip -r definitions.zip definitions
7859
7960
- name: Create GitHub Release
@@ -82,7 +63,6 @@ jobs:
8263
tag_name: ${{ github.ref_name }}
8364
name: Release ${{ github.ref_name }}
8465
files: |
85-
bundles.zip
8666
definitions.zip
8767
generate_release_notes: true
8868
make_latest: true

crates/cli/src/command/bundle.rs

Lines changed: 0 additions & 75 deletions
This file was deleted.

crates/cli/src/command/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
pub mod bundle;
21
pub mod definition;
32
pub mod download;
43
pub mod feature;

crates/cli/src/main.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,13 @@ enum Commands {
5555
#[clap(short, long, value_parser, num_args = 1.., value_delimiter = ' ')]
5656
features: Option<Vec<String>>,
5757
},
58-
Bundle {
59-
#[arg(short, long)]
60-
path: Option<String>,
61-
#[arg(short, long)]
62-
out: Option<String>,
63-
},
6458
}
6559

6660
#[tokio::main]
6761
async fn main() {
6862
let cli = Cli::parse();
6963

7064
match cli.command {
71-
Commands::Bundle { path, out } => command::bundle::bundle(path, out),
7265
Commands::Report { path } => command::report::report_errors(path),
7366
Commands::Feature { name, path } => command::feature::search_feature(name, path),
7467
Commands::Definition { name, path } => command::definition::search_definition(name, path),

0 commit comments

Comments
 (0)