tools: fix windows

This fixes most things, but format.py doesn't work yet, because
yapf is broken due to some depot_tools shimming python.
This commit is contained in:
Bert Belder 2018-07-08 19:14:55 +02:00 committed by Ryan Dahl
parent f917c5e722
commit 7c5db007de
2 changed files with 9 additions and 2 deletions

View file

@ -22,4 +22,4 @@ run([
# Do not format these.
# js/msg_generated.ts
# js/flatbuffers.js
run(["rustfmt", "--write-mode", "overwrite"] + glob("src/*.rs"))
run(["rustfmt", "-f", "--write-mode", "overwrite"] + glob("src/*.rs"))