Getting started using the Selenium build system can be tough. Here are a few pointers to the Rake tasks that you can use.
There are quite a lot more tasks in there than rake --tasks shows you. This walkthrough introduces some of the tasks.
| Index: rake-tasks/se-ide.rb | |
| =================================================================== | |
| --- rake-tasks/se-ide.rb (revision 8426) | |
| +++ rake-tasks/se-ide.rb (working copy) | |
| @@ -5,6 +5,7 @@ | |
| files = [] | |
| task :setup_proxy do | |
| + mkdir "ide/src/extension/content-files" | |
| if unix? |
| Index: /Users/olle/opensource/js/selenium-read-only/ide/src/extension/content/editor.js | |
| =================================================================== | |
| --- /Users/olle/opensource/js/selenium-read-only/ide/src/extension/content/editor.js (revision 8426) | |
| +++ /Users/olle/opensource/js/selenium-read-only/ide/src/extension/content/editor.js (working copy) | |
| @@ -130,7 +130,7 @@ | |
| setTimeout("editor.showLoadErrors()", 500); | |
| this.registerRecorder(); | |
| -} | |
| +}; |
| Index: rake-tasks/se-ide.rb | |
| =================================================================== | |
| --- rake-tasks/se-ide.rb (revision 8429) | |
| +++ rake-tasks/se-ide.rb (working copy) | |
| @@ -4,7 +4,9 @@ | |
| base_ide_dir = File.expand_path(File.dirname(Dir.glob("Rakefile")[0])) | |
| files = [] | |
| + desc "Prepare the development environment for the Selenium IDE Firefox plugin" | |
| task :setup_proxy do |
Getting started using the Selenium build system can be tough. Here are a few pointers to the Rake tasks that you can use.
There are quite a lot more tasks in there than rake --tasks shows you. This walkthrough introduces some of the tasks.
| Index: code/SphinxSearch/SphinxSearch.js | |
| =================================================================== | |
| RCS file: /cvsroot/sphinxsearch/code/SphinxSearch/SphinxSearch.js,v | |
| retrieving revision 1.3 | |
| diff -u -r1.3 SphinxSearch.js | |
| --- code/SphinxSearch/SphinxSearch.js 17 Feb 2010 03:52:24 -0000 1.3 | |
| +++ code/SphinxSearch/SphinxSearch.js 2 Mar 2010 12:06:48 -0000 | |
| @@ -11,7 +11,7 @@ | |
| var cnt = input.form.elements.length; | |
| --TEST-- | |
| #49349: gettext behaves differently in php 5.3.0 (5.2.x ignored setlocale errors) | |
| --SKIPIF-- | |
| <?php | |
| if (!extension_loaded("gettext")) { | |
| die("skip\n"); | |
| } | |
| --FILE-- | |
| <?php | |
| $lang = 'en'; //"fi" or "en" |
| #!/usr/bin/env python | |
| import subprocess | |
| import fnmatch | |
| import os | |
| import os.path | |
| from string import Template | |
| from optparse import OptionParser | |
| import webbrowser | |
| import string | |
| import datetime |
| #!/usr/bin/env python | |
| import serial | |
| import struct | |
| from optparse import OptionParser | |
| parser = OptionParser(usage="hurra") | |
| parser.add_option("-p",default="hello world") |
| diff --git a/bin/trac b/bin/trac | |
| index 33bc8a2..993e1d9 100755 | |
| --- a/bin/trac | |
| +++ b/bin/trac | |
| @@ -61,6 +61,9 @@ command [:newticket] do |c| | |
| c.desc 'component' | |
| c.flag [:c,:component] | |
| + c.desc 'milestone' | |
| + c.flag [:m,:milestone] |
| === modified file 'plugin/npapi/scriptable-test.html' | |
| --- plugin/npapi/scriptable-test.html 2010-04-15 20:19:54 +0000 | |
| +++ plugin/npapi/scriptable-test.html 2010-04-19 08:56:51 +0000 | |
| @@ -1,282 +1,245 @@ | |
| <html> | |
| <head> | |
| - <title>Scriptable Plugin Test</title> | |
| + <title>Gnash: Scriptable Plugin Test</title> | |
| + <style type="text/css" media="screen"> | |
| + body, * {font-family:sans-serif;} |