Skip to content

Commit f11de88

Browse files
committed
fix: update package name from aptos to movement in build scripts
- Change cargo build from -p aptos to -p movement - Update BINS array to use movement instead of aptos - Update tools.Dockerfile to copy movement binary as /usr/local/bin/movement - This fixes the 'package aptos did not match any packages' error
1 parent e2aedcc commit f11de88

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docker/builder/build-tools.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ echo "CARGO_TARGET_DIR: $CARGO_TARGET_DIR"
1111

1212
# Build all the rust binaries
1313
cargo build --locked --profile=$PROFILE \
14-
-p aptos \
14+
-p movement \
1515
-p aptos-backup-cli \
1616
-p aptos-faucet-service \
1717
-p aptos-fn-check-client \
@@ -26,7 +26,7 @@ cargo build --locked --profile=$PROFILE \
2626

2727
# After building, copy the binaries we need to `dist` since the `target` directory is used as docker cache mount and only available during the RUN step
2828
BINS=(
29-
aptos
29+
movement
3030
aptos-faucet-service
3131
aptos-node-checker
3232
aptos-openapi-spec-generator

docker/builder/tools.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ RUN wget https://storage.googleapis.com/pub/gsutil.tar.gz -O- | tar --gzip --dir
3333
RUN cd /usr/local/bin && wget "https://storage.googleapis.com/kubernetes-release/release/v1.18.6/bin/linux/amd64/kubectl" -O kubectl && chmod +x kubectl
3434

3535
COPY --link --from=tools-builder /aptos/dist/aptos-debugger /usr/local/bin/aptos-debugger
36-
COPY --link --from=tools-builder /aptos/dist/aptos /usr/local/bin/aptos
36+
COPY --link --from=tools-builder /aptos/dist/movement /usr/local/bin/movement
3737
COPY --link --from=tools-builder /aptos/dist/aptos-openapi-spec-generator /usr/local/bin/aptos-openapi-spec-generator
3838
COPY --link --from=tools-builder /aptos/dist/aptos-fn-check-client /usr/local/bin/aptos-fn-check-client
3939
COPY --link --from=tools-builder /aptos/dist/aptos-transaction-emitter /usr/local/bin/aptos-transaction-emitter

0 commit comments

Comments
 (0)