Skip to content

Commit

Permalink
[x] rename xtask to x
Browse files Browse the repository at this point in the history
Closes: aptos-labs#1519
Approved by: metajack
  • Loading branch information
bmwill authored and bors-libra committed Oct 28, 2019
1 parent 38d2a1e commit 79baafd
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 13 deletions.
3 changes: 2 additions & 1 deletion .cargo/config
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[alias]
xtask = "run --package xtask --bin xtask --"
x = "run --package x --bin x --"
xtask = "run --package x --bin x --"
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
- run:
name: Run All Unit Tests
command: |
[[ $CIRCLE_NODE_INDEX =~ [013] ]] || RUST_BACKTRACE=1 cargo xtask test-unit
[[ $CIRCLE_NODE_INDEX =~ [013] ]] || RUST_BACKTRACE=1 cargo x test-unit
- run:
name: Run Cryptography Unit Tests with the formally verified backend
command: |
Expand Down
16 changes: 8 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ members = [
"testsuite/libra-fuzzer",
"types",
"vm-validator",
"xtask",
"x",
]

# NOTE: These members should never include crates that require fuzzing
Expand Down
2 changes: 1 addition & 1 deletion documentation/coding_guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ As a consequence, it is recommended that you set up your test-only code in the f
default = []
testing = ["foo_crate/testing"]
```
5. Update `xtask/src/test_unit.rs` to run the unit tests passing in the
5. Update `x/src/test_unit.rs` to run the unit tests passing in the
features if needed.
*A final note on integration tests*: All tests that use conditional test-only
Expand Down
2 changes: 1 addition & 1 deletion xtask/Cargo.toml → x/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "xtask"
name = "x"
version = "0.1.0"
authors = ["Libra Association <[email protected]>"]
description = "Libra extended cargo tasks"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 79baafd

Please sign in to comment.