2017-11-08 11:44:55 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2018-05-18 08:34:17 +00:00
|
|
|
export FRACTAL_LOCALEDIR="$3"
|
2018-01-29 18:32:04 +00:00
|
|
|
|
|
|
|
if [[ $DEBUG = true ]]
|
|
|
|
then
|
|
|
|
echo "DEBUG MODE"
|
2018-05-10 14:55:49 +00:00
|
|
|
cargo build --manifest-path $1/Cargo.toml -p fractal-gtk && cp $1/target/debug/fractal-gtk $2
|
2018-01-29 18:32:04 +00:00
|
|
|
else
|
|
|
|
echo "RELEASE MODE"
|
2018-05-10 14:55:49 +00:00
|
|
|
cargo build --manifest-path $1/Cargo.toml --release -p fractal-gtk && cp $1/target/release/fractal-gtk $2
|
2018-01-29 18:32:04 +00:00
|
|
|
fi
|