Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,27 +53,8 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v5

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable

- name: Cache cargo registry
uses: actions/cache@v4
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-cargo-build-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-

- name: Build project
run: cargo run bundle --path ../definitions --out ../bundles
working-directory: "./crates/cli"

- name: Archive definitions folder
run: |
zip -r bundles.zip bundles
zip -r definitions.zip definitions

- name: Create GitHub Release
Expand All @@ -82,7 +63,6 @@ jobs:
tag_name: ${{ github.ref_name }}
name: Release ${{ github.ref_name }}
files: |
bundles.zip
definitions.zip
generate_release_notes: true
make_latest: true
Expand Down
75 changes: 0 additions & 75 deletions crates/cli/src/command/bundle.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/cli/src/command/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
pub mod bundle;
pub mod definition;
pub mod download;
pub mod feature;
Expand Down
7 changes: 0 additions & 7 deletions crates/cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,13 @@ enum Commands {
#[clap(short, long, value_parser, num_args = 1.., value_delimiter = ' ')]
features: Option<Vec<String>>,
},
Bundle {
#[arg(short, long)]
path: Option<String>,
#[arg(short, long)]
out: Option<String>,
},
}

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

match cli.command {
Commands::Bundle { path, out } => command::bundle::bundle(path, out),
Commands::Report { path } => command::report::report_errors(path),
Commands::Feature { name, path } => command::feature::search_feature(name, path),
Commands::Definition { name, path } => command::definition::search_definition(name, path),
Expand Down