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
8 changes: 8 additions & 0 deletions test_programs/rebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ process_dir() {
local current_dir=$2
local dir_name=$(basename "$dir")

if [[ ! -f "$dir/Nargo.toml" ]]; then
# This directory isn't a proper test but just hold some stale build artifacts
# We then delete it and carry on.
rm -rf $dir
return 0
fi


if [[ ! -d "$current_dir/acir_artifacts/$dir_name" ]]; then
mkdir -p $current_dir/acir_artifacts/$dir_name
fi
Expand Down
3 changes: 2 additions & 1 deletion tooling/nargo_cli/src/cli/info_cmd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ pub(crate) fn run(args: InfoCommand, config: NargoConfig) -> Result<(), CliError
} else {
// Otherwise print human-readable table.
if !info_report.programs.is_empty() {
let mut program_table = table!([Fm->"Package", Fm->"Function", Fm->"Expression Width", Fm->"ACIR Opcodes"]);
let mut program_table =
table!([Fm->"Package", Fm->"Function", Fm->"Expression Width", Fm->"ACIR Opcodes"]);

for program_info in info_report.programs {
let program_rows: Vec<Row> = program_info.into();
Expand Down