Generate code into OUT_DIR.

This is necessary to ensure Cargo knows when to rebuild. Normally
.gitignore would be enough to exclude these from Cargo's freshness
calculation, but https://github.com/rust-lang/cargo/issues/1729 prevents
this currently. This is the new, correct way to do these thigns, just
like the style crate does.
This commit is contained in:
Jack Moffitt 2015-06-17 15:59:04 -06:00
parent e1b28d893e
commit 07d95627ca
5 changed files with 64 additions and 51 deletions

13
.gitignore vendored
View file

@ -1,19 +1,11 @@
/.servo
/.cargo
/Cargo.lock
/.servobuild
/target
/components/servo/target
/ports/gonk/target
/ports/cef/target
/ports/android/bin
/ports/android/libs
/ports/android/local.properties
/ports/android/obj
/components/script/dom/bindings/codegen/*.rs
/components/script/dom/bindings/codegen/_cache
/components/script/dom/bindings/codegen/Bindings
/components/script/dom/bindings/codegen/test/*.rs
/.servobuild
/.servo
/tests/wpt/_virtualenv
*~
*#
@ -34,4 +26,3 @@ Servo.app
.config.mk.last
parser.out
/glfw