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

Add run command to CLI #106

Merged
merged 14 commits into from
Apr 17, 2024
Merged

Add run command to CLI #106

merged 14 commits into from
Apr 17, 2024

Conversation

JulianGCalderon
Copy link
Contributor

@JulianGCalderon JulianGCalderon commented Apr 12, 2024

  • Adds run command to CLI
    • if no path is sent, it runs the current project's main (like build, but also running the binary)
    • if a path is sent, it builds and runs that concrete file in single file mode.
  • Adds an example project, can be used to test the run command in project mode.

Example usage:

cargo run -- run examples/fib_if.con
# or
concrete run examples/fib_if.con

tip: to install the binary, run:

cargo install --path crates/concrete

Copy link

Benchmarking factorial

@JulianGCalderon JulianGCalderon marked this pull request as ready for review April 12, 2024 18:16
Copy link
Member

@juanbono juanbono left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see comment

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 137 lines in your changes are missing coverage. Please review.

Project coverage is 57.74%. Comparing base (53cddd9) to head (5573d2c).
Report is 13 commits behind head on main.

Files Patch % Lines
crates/concrete_driver/src/lib.rs 0.00% 137 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #106      +/-   ##
==========================================
+ Coverage   57.35%   57.74%   +0.38%     
==========================================
  Files          34       34              
  Lines        3956     3992      +36     
==========================================
+ Hits         2269     2305      +36     
  Misses       1687     1687              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@juanbono juanbono enabled auto-merge April 17, 2024 18:56
@juanbono juanbono added this pull request to the merge queue Apr 17, 2024
Merged via the queue into main with commit af2e5cf Apr 17, 2024
5 checks passed
@juanbono juanbono deleted the add-run-command branch April 17, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants