8 lines
184 B
Bash
8 lines
184 B
Bash
|
|
# Copying source code to working directory
|
||
|
|
cp -r /src/* .
|
||
|
|
|
||
|
|
# Building the app
|
||
|
|
/root/.cargo/bin/cargo build
|
||
|
|
|
||
|
|
# Copying app to Result Directory
|
||
|
|
cp target/debug/$PROJ_NAME /app/$PROJ_NAME
|