File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1510,7 +1510,7 @@ cargo build --bin sqlsmith-reducer \
15101510alias = " sql-reduce-short"
15111511
15121512[tasks .sql-reduce-short ]
1513- category = " Risedev - Reduce"
1513+ category = " RiseDev - Reduce"
15141514description = " Reduce a failing SQL query while preserving error"
15151515dependencies = [" pre-start-dev" , " build-sqlsmith-reducer" ]
15161516script = '''
@@ -1527,18 +1527,18 @@ fi
15271527mkdir -p '.sqlsmith'
15281528echo "Shrinking: $INPUT_FILE"
15291529
1530- RUST_LOG=info target/debug /sqlsmith-reducer --input-file "$INPUT_FILE" --output-file "$OUTPUT_FILE" --run-rw-cmd "./risedev k && ./risedev d" 1>"$LOG_FILE" 2>&1
1530+ RUST_LOG=info target/${RISEDEV_BUILD_TARGET_DIR}${BUILD_MODE_DIR} /sqlsmith-reducer --input-file "$INPUT_FILE" --output-file "$OUTPUT_FILE" --run-rw-cmd "./risedev k && ./risedev d" 1>"$LOG_FILE" 2>&1
15311531
15321532echo "Shrunk file: $OUTPUT_FILE"
15331533echo "Log file: $LOG_FILE"
15341534'''
15351535
15361536[tasks .sql-reduce-full ]
1537- category = " Risedev - Reduce"
1537+ category = " RiseDev - Reduce"
15381538description = " Reduce a failing SQL query while preserving error"
15391539dependencies = [" pre-start-dev" , " build-sqlsmith-reducer" ]
15401540script = '''
15411541#!/usr/bin/env bash
15421542
1543- target/debug /sqlsmith-reducer "$@"
1543+ target/${RISEDEV_BUILD_TARGET_DIR}${BUILD_MODE_DIR} /sqlsmith-reducer "$@"
15441544'''
You can’t perform that action at this time.
0 commit comments