Commit 48cea086 48cea0865ecfb6b73fc47bd84d22048d75ba855c by Nick Currier

Update docs for dotNET application

Deprecate batch file
1 parent c7fc0a77
...@@ -13,7 +13,8 @@ Prerequisites ...@@ -13,7 +13,8 @@ Prerequisites
13 .. index:: PhantomJS, Python, SlimerJS 13 .. index:: PhantomJS, Python, SlimerJS
14 14
15 - PhantomJS_ 1.8.1 or greater. Installation instructions can be found `here <http://phantomjs.org/download.html>`_ 15 - PhantomJS_ 1.8.1 or greater. Installation instructions can be found `here <http://phantomjs.org/download.html>`_
16 - Python_ 2.6 or greater 16 - Python_ 2.6 or greater for ``casperjs`` in the ``bin/`` directory
17 - .NET Framework 3.5 or greater (or Mono_ 2.10.8 or greater)
17 18
18 .. versionadded:: 1.1 19 .. versionadded:: 1.1
19 20
...@@ -25,6 +26,8 @@ Prerequisites ...@@ -25,6 +26,8 @@ Prerequisites
25 26
26 The `Ruby <http://ruby-lang.org/>`_ version of the ``casperjs`` executable also available in the ``rubybin/`` directory has been deprecated as of 1.1-beta, and is not compatible with SlimerJS_. 27 The `Ruby <http://ruby-lang.org/>`_ version of the ``casperjs`` executable also available in the ``rubybin/`` directory has been deprecated as of 1.1-beta, and is not compatible with SlimerJS_.
27 28
29 The batch version of the ``casperjs`` executable also available in the ``batchbin/`` directory has been deprecated as of 1.1-beta, and is not compatible with SlimerJS_.
30
28 .. index:: Homebrew 31 .. index:: Homebrew
29 32
30 Installing from Homebrew (OSX) 33 Installing from Homebrew (OSX)
...@@ -120,23 +123,34 @@ Phantomjs installation additions ...@@ -120,23 +123,34 @@ Phantomjs installation additions
120 Casperjs installation additions 123 Casperjs installation additions
121 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 124 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122 125
123 .. versionadded:: 1.0 126 **CasperJS, as of 1.1-beta3, ships with a .NET application so you don't need Python nor Ruby to use it.**
124 127
125 CasperJS, as of 1.0.0-RC3, ships with a Batch script so you don't need Python nor Ruby to use it. 128 .. versionadded:: 1.1-beta3
126 129
127 - Append ``";C:\casperjs\batchbin"`` to your ``PATH`` environment variable. 130 - Append ``";C:\casperjs\bin"`` to your ``PATH`` environment variable.
128 - Modify this path appropriately if you installed CasperJS to a different location. 131 - Modify this path appropriately if you installed CasperJS to a different location.
129 132
130 You can now run any regular casper scripts that way: 133 You can now run any regular casper scripts that way:
131 134
132 .. code-block:: text 135 .. code-block:: text
133 136
134 C:> casperjs.bat myscript.js 137 C:> casperjs myscript.js
135 138
136 Earlier versions of CasperJS 139 Earlier versions of CasperJS
137 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
138 141
139 Before 1.0.0-RC3, you had to setup your casper scripts that way:: 142 **CasperJS, as of 1.0.0-RC3, ships with a Batch script so you don't need Python nor Ruby to use it.**
143
144 - Append ``";C:\casperjs\batchbin"`` to your ``PATH`` environment variable.
145 - Modify this path appropriately if you installed CasperJS to a different location.
146
147 You can now run any regular casper scripts that way:
148
149 .. code-block:: text
150
151 C:> casperjs.bat myscript.js
152
153 **Before 1.0.0-RC3, you had to setup your casper scripts that way::**
140 154
141 phantom.casperPath = 'C:\\casperjs-1.1'; 155 phantom.casperPath = 'C:\\casperjs-1.1';
142 phantom.injectJs(phantom.casperPath + '\\bin\\bootstrap.js'); 156 phantom.injectJs(phantom.casperPath + '\\bin\\bootstrap.js');
...@@ -170,3 +184,4 @@ Known Bugs & Limitations ...@@ -170,3 +184,4 @@ Known Bugs & Limitations
170 .. _Python: http://python.org/ 184 .. _Python: http://python.org/
171 .. _SlimerJS: http://slimerjs.org/ 185 .. _SlimerJS: http://slimerjs.org/
172 .. _ansicon: https://github.com/adoxa/ansicon 186 .. _ansicon: https://github.com/adoxa/ansicon
187 .. _Mono: http://www.mono-project.com/
......