Initial commit
This commit is contained in:
15
node_modules/node-blockly/blockly/tests/scripts/get_geckdriver.sh
generated
vendored
Executable file
15
node_modules/node-blockly/blockly/tests/scripts/get_geckdriver.sh
generated
vendored
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
os_name=`uname`
|
||||
|
||||
if [ -f geckodriver ]; then
|
||||
exit 0
|
||||
fi
|
||||
echo "downloading gechdriver"
|
||||
|
||||
if [[ $os_name == 'Linux' ]]; then
|
||||
cd ../ && curl -L https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz | tar xz
|
||||
sleep 5
|
||||
elif [[ $os_name == 'Darwin' ]]; then
|
||||
cd ../ && curl -L https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-macos.tar.gz | tar xz
|
||||
sleep 5
|
||||
fi
|
||||
Reference in New Issue
Block a user