-
Notifications
You must be signed in to change notification settings - Fork 3
/
makefile
31 lines (27 loc) · 867 Bytes
/
makefile
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
SHELL:=/bin/bash
bin/analysis :
@export RUSTFLAGS="-A dead_code -A unused_variables -A unused_imports -A unused_mut" && \
cd compiler && \
cargo build \
--release \
--bin analysis \
--features "analysis instrumentation file_writer" && \
cd .. && \
mkdir -p ./bin && \
mv -v ./compiler/target/release/analysis ./bin/analysis
bin/instrumentation :
@export RUSTFLAGS="-A dead_code -A unused_variables -A unused_imports -A unused_mut" && \
cd compiler && \
cargo build \
--release \
--bin instrumentation \
--features "instrumentation" && \
cd .. && \
mkdir -p ./bin && \
mv -v ./compiler/target/release/instrumentation ./bin/instrumentation
bin/rusty-unit.jar :
pushd rusty-unit && \
gradle shadowJar && \
popd && \
mv -v ./rusty-unit/build/libs/rusty-unit.jar ./bin/rusty-unit.jar
build : bin/analysis bin/instrumentation bin/rusty-unit.jar