]> Untitled Git - lemmy.git/commitdiff
In federation test setup, run yarn build by default
authorFelix Ableitner <me@nutomic.com>
Tue, 11 Aug 2020 12:12:05 +0000 (14:12 +0200)
committerFelix Ableitner <me@nutomic.com>
Tue, 11 Aug 2020 12:12:05 +0000 (14:12 +0200)
docker/federation/run-federation-test.bash

index bc73fff63140093df71368a67997f97de96f9b98..77cc981f40d46f63ade9256eedf33a0d5b425cdb 100755 (executable)
@@ -6,7 +6,7 @@ pushd ../../server/ || exit
 cargo build &
 popd || exit
 
-if [ "$1" = "-yarn" ]; then
+if [ "$1" != "--no-yarn-build" ]; then
   pushd ../../ui/ || exit
   yarn
   yarn build