Skip to content

Instantly share code, notes, and snippets.

@ggirou
Last active August 29, 2015 14:16
Show Gist options
  • Save ggirou/3cd23b36af25d639cd8e to your computer and use it in GitHub Desktop.
Save ggirou/3cd23b36af25d639cd8e to your computer and use it in GitHub Desktop.
Drone.io content_shell installation
#!/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