This repository was archived by the owner on Sep 17, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 28
28
- name : Prepare GNU/Linux artifacts
29
29
run : |
30
30
mkdir -p dist builds/typescript-tools-x86_64-unknown-linux-gnu
31
- cp target/x86_64-unknown-linux-gnu/release/rust_typescript_tools builds/typescript-tools-x86_64-unknown-linux-gnu/monorepo
31
+ cp target/x86_64-unknown-linux-gnu/release/monorepo builds/typescript-tools-x86_64-unknown-linux-gnu/
32
32
tar -C builds -czvf dist/typescript-tools-x86_64-unknown-linux-gnu.tar.gz typescript-tools-x86_64-unknown-linux-gnu
33
33
34
34
- name : Upload GNU/Linux artifact
59
59
- name : Prepare Mac OS artifacts
60
60
run : |
61
61
mkdir -p dist builds/typescript-tools-x86_64-apple-darwin
62
- cp target/x86_64-apple-darwin/release/rust_typescript_tools builds/typescript-tools-x86_64-apple-darwin/monorepo
62
+ cp target/x86_64-apple-darwin/release/monorepo builds/typescript-tools-x86_64-apple-darwin/
63
63
tar -C builds -czvf dist/typescript-tools-x86_64-apple-darwin.tar.gz typescript-tools-x86_64-apple-darwin
64
64
65
65
- name : Upload Mac OS artifact
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name = "rust_typescript_tools"
3
3
version = " 0.1.0"
4
4
edition = " 2021"
5
5
6
+ [[bin ]]
7
+ name = " monorepo"
8
+ path = " src/main.rs"
9
+
6
10
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
11
8
12
[dependencies ]
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ RUN cargo build --release --target x86_64-unknown-linux-musl && \
20
20
COPY ./src ./src
21
21
22
22
# build for release
23
- RUN rm -f ./target/x86_64-unknown-linux-musl/release/deps/rust_typescript_tools * && \
23
+ RUN rm -f ./target/x86_64-unknown-linux-musl/release/deps/monorepo * && \
24
24
cargo build --release --target x86_64-unknown-linux-musl
25
25
26
26
FROM scratch
27
- COPY --from=build-image /rust-implementation/target/x86_64-unknown-linux-musl/release/rust_typescript_tools /usr/bin/typescript-tools
27
+ COPY --from=build-image /rust-implementation/target/x86_64-unknown-linux-musl/release/monorepo /usr/bin/monorepo
28
28
WORKDIR /workdir
29
- ENTRYPOINT ["/usr/bin/typescript-tools " ]
29
+ ENTRYPOINT ["/usr/bin/monorepo " ]
30
30
CMD ["" ]
You can’t perform that action at this time.
0 commit comments