소스 검색

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
-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