File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ COPY miner-apps/translator/Cargo.toml miner-apps/translator/Cargo.toml
3030RUN echo "Fetching deps for ${APP}" && \
3131 case "$APP" in \
3232 pool_sv2) cargo fetch --manifest-path=pool-apps/pool/Cargo.toml ;; \
33- jd_server) cargo fetch --manifest-path=pool-apps/jd-server/Cargo.toml ;; \
3433 jd_client_sv2) cargo fetch --manifest-path=miner-apps/jd-client/Cargo.toml ;; \
3534 translator_sv2) cargo fetch --manifest-path=miner-apps/translator/Cargo.toml ;; \
3635 *) echo "Unknown APP: $APP" && exit 1 ;; \
@@ -48,9 +47,8 @@ COPY stratum-apps/ stratum-apps/
4847RUN echo "Building ${APP}" && \
4948 case "$APP" in \
5049 pool_sv2) cargo build --release --manifest-path pool-apps/pool/Cargo.toml --target-dir ./ ;; \
51- jd_server) cargo build --release --manifest-path=pool-apps/jd-server/Cargo.toml --target-dir ./ && mv /app/release/jd_server_sv2 /app/release/jd_server ;; \
52- jd_client_sv2) cargo build --release --manifest-path miner-apps/jd-client/Cargo.toml --target-dir ./ ;; \
53- translator_sv2) cargo build --release --manifest-path miner-apps/translator/Cargo.toml --target-dir ./ ;; \
50+ jd_client_sv2) cargo build --release --manifest-path=miner-apps/jd-client/Cargo.toml --target-dir ./ ;; \
51+ translator_sv2) cargo build --release --manifest-path=miner-apps/translator/Cargo.toml --target-dir ./ ;; \
5452 *) echo "Unknown APP: $APP" && exit 1 ;; \
5553 esac
5654
You can’t perform that action at this time.
0 commit comments