Skip to content

Commit

Permalink
Auto merge of #6411 - metajack:fix-script-out-dir, r=glennw
Browse files Browse the repository at this point in the history
Don't generate pyc files.

This eliminates the last bit of script crate generating in-tree
files. This now allows cargo target dir sharing to fully work.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6411)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo committed Jun 18, 2015
2 parents fd44db2 + eae4118 commit 5dc546b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/script/makefile.cargo
Expand Up @@ -28,7 +28,7 @@ $(CACHE_DIR)/.done:
touch $@

$(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS)
$(PYTHON) $(BINDINGS_SRC)/pythonpath.py \
$(PYTHON) -B $(BINDINGS_SRC)/pythonpath.py \
-I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \
-D$(OUT_DIR) \
$(BINDINGS_SRC)/GlobalGen.py $(BINDINGS_SRC)/Bindings.conf . \
Expand All @@ -37,7 +37,7 @@ $(OUT_DIR)/ParserResults.pkl: $(globalgen_dependencies) $(WEBIDLS)

$(AUTOGEN_SRC): $(OUT_DIR)/Bindings/%Binding.rs: $(bindinggen_dependencies) \
$(addprefix $(WEBIDLS_SRC)/,%.webidl)
$(PYTHON) $(BINDINGS_SRC)/pythonpath.py \
$(PYTHON) -B $(BINDINGS_SRC)/pythonpath.py \
-I$(BINDINGS_SRC)/parser -I$(BINDINGS_SRC)/ply \
-D$(OUT_DIR) \
$(BINDINGS_SRC)/BindingGen.py \
Expand Down

0 comments on commit 5dc546b

Please sign in to comment.