-
Notifications
You must be signed in to change notification settings - Fork 46
/
Makefile.toml
35 lines (28 loc) · 949 Bytes
/
Makefile.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
CARGO_MANIFEST_DIR = "bin/Cargo.toml"
CARGO_TARGET_DIR = "../target"
RUSTUP_TOOLCHAIN = "1.73"
[config]
default_to_workspace = false
[tasks.build-release-arm]
args = ["build", "--release"]
command = "cargo"
[tasks.build-release-x86_64]
args = ["build", "--release", "--target", "x86_64-apple-darwin"]
command = "cargo"
[tasks.int-tests]
args = ["test", "-p", "logdna-agent", "--features", "integration_tests"]
command = "cargo"
env = {TMPDIR="/tmp", RUST_BACKTRACE="full"}
[tasks.unit-tests]
args = ["test", "--no-fail-fast"]
command = "cargo"
env = {RUST_BACKTRACE="full"}
[tasks.run]
args = ["run", "--bin=logdna-agent"]
command = "cargo"
dependencies = ["clean-build"]
[tasks.publish-s3-x86_64]
script = "aws s3 cp --acl public-read ../target/aarch64-apple-darwin/release/logdna-agent s3://logdna-agent-build-bin/3.9.0-dev/aarch64-apple-darwin/logdna-agent;"
env = {RUST_BACKTRACE="full"}