Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove leo example subcommand. #28503

Open
wants to merge 1 commit into
base: mainnet
Choose a base branch
from
Open
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
16 changes: 0 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,19 +274,6 @@ jobs:
export LEO=/home/circleci/project/project/bin/leo
./project/.circleci/leo-clean.sh

leo-example:
docker:
- image: cimg/rust:1.82
resource_class: xlarge
steps:
- attach_workspace:
at: /home/circleci/project/
- run:
name: leo example
command: |
export LEO=/home/circleci/project/project/bin/leo
./project/.circleci/leo-example.sh

test-examples:
docker:
- image: cimg/rust:1.82
Expand Down Expand Up @@ -316,9 +303,6 @@ workflows:
- leo-clean:
requires:
- leo-executable
- leo-example:
requires:
- leo-executable
- test-examples:
requires:
- leo-executable
41 changes: 0 additions & 41 deletions .circleci/leo-example.sh

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ We recommend installing Rust using [rustup](https://www.rustup.rs/). You can ins
We recommend installing Leo by building from the source code as follows:

```bash
# Download the source code and initialize the submodules
git clone --recurse-submodules https://github.com/ProvableHQ/leo
# Download the source code
git clone https://github.com/ProvableHQ/leo
cd leo

# Install 'leo'
Expand Down
6 changes: 0 additions & 6 deletions leo/cli/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ enum Commands {
#[clap(flatten)]
command: LeoNew,
},
#[clap(about = "Create a new Leo example package in a new directory")]
Example {
#[clap(flatten)]
command: LeoExample,
},
#[clap(about = "Run a program with input variables")]
Run {
#[clap(flatten)]
Expand Down Expand Up @@ -147,7 +142,6 @@ pub fn run_with_args(cli: CLI) -> Result<()> {
Commands::Query { command } => command.try_execute(context),
Commands::Clean { command } => command.try_execute(context),
Commands::Deploy { command } => command.try_execute(context),
Commands::Example { command } => command.try_execute(context),
Commands::Run { command } => command.try_execute(context),
Commands::Execute { command } => command.try_execute(context),
Commands::Remove { command } => command.try_execute(context),
Expand Down
148 changes: 0 additions & 148 deletions leo/cli/commands/example.rs

This file was deleted.

3 changes: 0 additions & 3 deletions leo/cli/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ pub use debug::LeoDebug;
pub mod deploy;
pub use deploy::Deploy;

pub mod example;
pub use example::LeoExample;

pub mod execute;
pub use execute::LeoExecute;

Expand Down
Loading