mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-09 21:00:42 +02:00
--HG-- rename : browser/components/loop/test/mocha-test/README.md => browser/components/loop/test/desktop-local/README.md rename : browser/components/loop/test/mocha-test/client_test.js => browser/components/loop/test/desktop-local/client_test.js rename : browser/components/loop/test/mocha-test/index.html => browser/components/loop/test/desktop-local/index.html rename : browser/components/loop/test/mocha-test/panel_test.js => browser/components/loop/test/desktop-local/panel_test.js
25 lines
578 B
Bash
Executable file
25 lines
578 B
Bash
Executable file
#!/bin/bash
|
|
|
|
if [ `basename $PWD` != "loop" ]; then
|
|
echo "this script must be executed in the loop directory"
|
|
exit -1
|
|
fi
|
|
|
|
if [ ! -d "$LOOP_CLIENT_REPO" ]; then
|
|
echo "LOOP_CLIENT_REPO in the environment must be set to a valid directory"
|
|
exit -1
|
|
fi
|
|
|
|
SHARED_CONTENT_TARGET=./content/shared
|
|
rm -f ${SHARED_CONTENT_TARGET}
|
|
|
|
SHARED_CONTENT=${LOOP_CLIENT_REPO}/content/shared
|
|
ln -s ${SHARED_CONTENT} ${SHARED_CONTENT_TARGET}
|
|
|
|
SHARED_TEST_TARGET=./test/shared
|
|
rm -f ${SHARED_TEST_TARGET}
|
|
|
|
SHARED_TEST=${LOOP_CLIENT_REPO}/test/shared
|
|
ln -s ${SHARED_TEST} ${SHARED_TEST_TARGET}
|
|
|
|
|