You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
332 B
12 lines
332 B
#!/bin/sh |
|
|
|
export FRACTAL_LOCALEDIR="$3" |
|
|
|
if [[ $DEBUG = true ]] |
|
then |
|
echo "DEBUG MODE" |
|
cargo build --manifest-path $1/Cargo.toml -p fractal-gtk && cp $1/target/debug/fractal-gtk $2 |
|
else |
|
echo "RELEASE MODE" |
|
cargo build --manifest-path $1/Cargo.toml --release -p fractal-gtk && cp $1/target/release/fractal-gtk $2 |
|
fi
|
|
|