Skip to content

Commit

Permalink
merge and update version, added contributors
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzejsliwa committed Nov 16, 2010
1 parent 93582a0 commit 4f64cff
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
5 changes: 5 additions & 0 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,8 @@ are converted on the fly to java-script (.js) files.
### Author

Andrzej Sliwa, andrzej.sliwa@i-tool.eu


### Contributors

Josh Bohde, josh.bohde@gmail.com
7 changes: 4 additions & 3 deletions docs/coffeeapp.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html> <html> <head> <title>coffeeapp.coffee</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div id="container"> <div id="background"></div> <div id="jump_to"> Jump To &hellip; <div id="jump_wrapper"> <div id="jump_page"> <a class="source" href="runner.html"> runner.coffee </a> <a class="source" href="coffeeapp.html"> coffeeapp.coffee </a> </div> </div> </div> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th class="docs"> <h1> coffeeapp.coffee </h1> </th> <th class="code"> </th> </tr> </thead> <tbody> <tr id="section-1"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-1">#</a> </div> <p>!/usr/bin/env coffee</p>
<!DOCTYPE html> <html> <head> <title>coffeeapp.coffee</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div id="container"> <div id="background"></div> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th class="docs"> <h1> coffeeapp.coffee </h1> </th> <th class="code"> </th> </tr> </thead> <tbody> <tr id="section-1"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-1">#</a> </div> <p>!/usr/bin/env coffee</p>

<p>CoffeeApp - coffee-script wrapper for CouchApp
Copyright 2010 Andrzej Sliwa (andrzej.sliwa@i-tool.eu)</p>
Expand Down Expand Up @@ -124,8 +124,9 @@
<span class="nx">log</span> <span class="s2">&quot;preparing #{releasePath} release:&quot;</span>
<span class="nx">mkdirSync</span> <span class="nx">releasePath</span><span class="p">,</span> <span class="mi">0700</span>
<span class="k">if</span> <span class="nx">processRecursive</span> <span class="s1">&#39;.&#39;</span><span class="p">,</span> <span class="nx">releasePath</span>
<span class="nx">process</span><span class="p">.</span><span class="nx">chdir</span> <span class="nx">releasePath</span>
<span class="nx">exec</span> <span class="s1">&#39;couchapp push&#39;</span><span class="p">,</span> <span class="nx">printOutput</span>
<span class="p">[</span><span class="nx">options</span><span class="p">...,</span> <span class="nx">database</span><span class="p">]</span> <span class="o">=</span> <span class="nx">process</span><span class="p">.</span><span class="nx">argv</span><span class="p">[</span><span class="mi">1</span><span class="p">..]</span>
<span class="nx">options</span> <span class="o">=</span> <span class="p">(</span><span class="nx">options</span> <span class="o">||</span> <span class="p">[]).</span><span class="nx">join</span> <span class="s1">&#39; &#39;</span>
<span class="nx">exec</span> <span class="s2">&quot;couchapp push #{options} #{releasePath} #{database}&quot;</span><span class="p">,</span> <span class="nx">printOutput</span>
<span class="nx">process</span><span class="p">.</span><span class="nx">cwd</span><span class="p">()</span></pre></div> </td> </tr> <tr id="section-22"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-22">#</a> </div> <p>Shows available options.</p> </td> <td class="code"> <div class="highlight"><pre><span class="nx">help</span> <span class="o">=</span> <span class="o">-&gt;</span>
<span class="nx">log</span> <span class="s2">&quot;Wrapping &#39;help&#39; of couchapp\n&quot;</span>
<span class="nx">showGreatings</span><span class="p">()</span>
Expand Down
4 changes: 2 additions & 2 deletions docs/runner.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html> <html> <head> <title>runner.coffee</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div id="container"> <div id="background"></div> <div id="jump_to"> Jump To &hellip; <div id="jump_wrapper"> <div id="jump_page"> <a class="source" href="runner.html"> runner.coffee </a> <a class="source" href="coffeeapp.html"> coffeeapp.coffee </a> </div> </div> </div> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th class="docs"> <h1> runner.coffee </h1> </th> <th class="code"> </th> </tr> </thead> <tbody> <tr id="section-1"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-1">#</a> </div> <p>!/usr/bin/env coffee</p>
<!DOCTYPE html> <html> <head> <title>runner.coffee</title> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <link rel="stylesheet" media="all" href="docco.css" /> </head> <body> <div id="container"> <div id="background"></div> <table cellpadding="0" cellspacing="0"> <thead> <tr> <th class="docs"> <h1> runner.coffee </h1> </th> <th class="code"> </th> </tr> </thead> <tbody> <tr id="section-1"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-1">#</a> </div> <p>!/usr/bin/env coffee</p>

<p>CoffeeApp - coffee-script wrapper for CouchApp
Copyright 2010 Andrzej Sliwa (andrzej.sliwa@i-tool.eu)</p>
Expand All @@ -15,6 +15,6 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.</p> </td> <td class="code"> <div class="highlight"><pre><span class="p">{</span><span class="nx">join</span><span class="p">,</span> <span class="nx">dirname</span><span class="p">}</span> <span class="o">=</span> <span class="nx">require</span> <span class="s1">&#39;path&#39;</span>
<span class="p">{</span><span class="nx">realpathSync</span><span class="p">}</span> <span class="o">=</span> <span class="nx">require</span> <span class="s1">&#39;fs&#39;</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-2">#</a> </div> <p>locate lib directory</p> </td> <td class="code"> <div class="highlight"><pre><span class="nx">lib</span> <span class="o">=</span> <span class="nx">join</span> <span class="nx">dirname</span><span class="p">(</span><span class="nx">realpathSync</span><span class="p">(</span><span class="nx">__filename</span><span class="p">)),</span> <span class="s1">&#39;../lib&#39;</span></pre></div> </td> </tr> <tr id="section-3"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-3">#</a> </div> <p>load main file and run</p> </td> <td class="code"> <div class="highlight"><pre><span class="nx">require</span><span class="p">(</span><span class="s2">&quot;#{lib}/coffeeapp.coffee&quot;</span><span class="p">).</span><span class="nx">run</span><span class="p">()</span>
<span class="p">{</span><span class="nx">realpathSync</span><span class="p">}</span> <span class="o">=</span> <span class="nx">require</span> <span class="s1">&#39;fs&#39;</span></pre></div> </td> </tr> <tr id="section-2"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-2">#</a> </div> <p>locate lib directory</p> </td> <td class="code"> <div class="highlight"><pre><span class="nx">lib</span> <span class="o">=</span> <span class="nx">join</span> <span class="nx">dirname</span><span class="p">(</span><span class="nx">realpathSync</span><span class="p">(</span><span class="nx">__filename</span><span class="p">.</span><span class="nx">replace</span> <span class="s1">&#39; (compiled)&#39;</span><span class="p">,</span> <span class="s1">&#39;&#39;</span><span class="p">)),</span> <span class="s1">&#39;../lib&#39;</span></pre></div> </td> </tr> <tr id="section-3"> <td class="docs"> <div class="octowrap"> <a class="octothorpe" href="#section-3">#</a> </div> <p>load main file and run</p> </td> <td class="code"> <div class="highlight"><pre><span class="nx">require</span><span class="p">(</span><span class="s2">&quot;#{lib}/coffeeapp.coffee&quot;</span><span class="p">).</span><span class="nx">run</span><span class="p">()</span>

</pre></div> </td> </tr> </tbody> </table> </div> </body> </html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ "name" : "coffeeapp"
, "version" : "1.0.6"
, "version" : "1.0.7"
, "author" : "Andrzej Sliwa <andrzej.sliwa@i-tool.eu> (http://andrzejsliwa.com)"
, "description": "CoffeeApp wrapper (handling coffee-script) for CouchApp (http://couchapp.org/)."
, "main" : "./lib/coffeeapp.coffee"
Expand Down

0 comments on commit 4f64cff

Please sign in to comment.