mirror of
https://github.com/google/blockly.git
synced 2026-01-10 18:37:09 +01:00
* cherry pick for pretest fix * put pretest target to test_setup.sh * fix conflict * cherry pick for get_chromedriver.sh * add some sleep to wait download to finish * use node.js stable * use npm test target
10 lines
381 B
Bash
Executable File
10 lines
381 B
Bash
Executable File
#!/bin/bash
|
|
os_name=`uname`
|
|
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
|