1905a2b5d1
I've added the locales path to the globals so we can now in the compile time what directory is the translation to use in bindtextdomain Closes https://gitlab.gnome.org/World/fractal/issues/89
12 lines
332 B
Bash
Executable file
12 lines
332 B
Bash
Executable file
#!/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
|