ソースを参照

pipe just generated file throught rustfmt instead of doing on entire project

narodnik 5 年 前
コミット
c35f43e9f3
1 ファイル変更1 行追加2 行削除
  1. 1 2
      compile_and_run.sh

+ 1 - 2
compile_and_run.sh

@@ -1,5 +1,4 @@
 #!/bin/bash -x
 #!/bin/bash -x
-python scripts/pism.py proofs/simple.pism > src/simple_circuit.rs
-cargo fmt
+python scripts/pism.py proofs/simple.pism | rustfmt > src/simple_circuit.rs
 cargo run --release --bin simple
 cargo run --release --bin simple