Last active
August 29, 2015 14:16
-
-
Save ggirou/3cd23b36af25d639cd8e to your computer and use it in GitHub Desktop.
Drone.io content_shell installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install Dartium content_shell | |
$DART_SDK/../chromium/download_contentshell.sh | |
unzip content_shell-linux-x64-release.zip | |
mkdir content_shell | |
mv drt*/* ./content_shell | |
# Define html_test alias to run tests as dart w/ content_shell | |
html_test(){ | |
./content_shell/content_shell --dump-render-tree $* | |
} | |
# Start virtual frame buffer | |
sudo start xvfb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment