Skip to content

Commit

Permalink
remove vendor after cargo build
Browse files Browse the repository at this point in the history
  • Loading branch information
shrektan committed Oct 9, 2023
1 parent 662b81d commit af69112
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Makevars.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $(STATLIB):
fi

@BEFORE_CARGO_BUILD@ cd ./rust && cargo build --lib --release --offline --jobs=1
@AFTER_CARGO_BUILD@
@AFTER_CARGO_BUILD@ rm -Rf ./rust/vendor ./rust/.cargo

C_clean:
rm -Rf $(SHLIB) $(OBJECTS) ./rust/.cargo $(STATLIB)
Expand Down
2 changes: 1 addition & 1 deletion src/Makevars.win.in
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ $(STATLIB):
fi

@BEFORE_CARGO_BUILD@ cd ./rust && cargo build --target=$(TARGET) --lib --release --offline --jobs=1
@AFTER_CARGO_BUILD@
@AFTER_CARGO_BUILD@ rm -Rf ./rust/vendor ./rust/.cargo

C_clean:
rm -Rf $(SHLIB) $(OBJECTS) ./rust/.cargo $(STATLIB)
Expand Down

0 comments on commit af69112

Please sign in to comment.