Allow for parallel development instance

This adds a configuration option in meson, if set it changes the
application ID allowing for stable and development version to be
run at the same time.
This commit is contained in:
Jordan Petridis
2018-08-28 17:22:13 +03:00
parent 15457e1db4
commit 569c00ff5f
16 changed files with 121 additions and 44 deletions
+5 -2
View File
@@ -2,9 +2,12 @@
export CARGO_HOME=$1/target/cargo-home
export RUSTFLAGS="--cfg rayon_unstable"
export PODCASTS_LOCALEDIR="$3"
export LOCALEDIR="$3"
export APP_ID="$4"
export VERSION="$5"
export PROFILE="$6"
if [[ $DEBUG = true ]]
if [[ "$PROFILE" == "Devel" ]]
then
echo "DEBUG MODE"
cargo build -p podcasts-gtk && cp $1/target/debug/podcasts-gtk $2