Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added missing files from master

  • Loading branch information...
commit 557ec50863f511f780f0923d56f6b356f94a46b9 1 parent 19610d6
@dmotz authored
Showing with 47 additions and 0 deletions.
  1. +25 −0 Cakefile
  2. +22 −0 LICENSE
View
25 Cakefile
@@ -0,0 +1,25 @@
+{exec, spawn} = require 'child_process'
+
+
+output = (data) ->
+ console.log data.toString()
+
+
+task 'build', 'Build, minify, and generate docs for oriDomi', ->
+ exec 'coffee -c oriDomi.coffee', (err, stdout, stderr) ->
+ throw err if err
+ console.log stdout, stderr
+
+ exec 'uglifyjs -o oriDomi.min.js oriDomi.js', (err, stdout, stderr) ->
+ throw err if err
+ console.log stdout, stderr
+
+ exec 'docco oriDomi.coffee', (err, stdout, stderr) ->
+ throw err if err
+ console.log stdout, stderr
+
+
+task 'watch', 'Build oriDomi continuously', ->
+ coffee = spawn 'coffee', ['-wc', 'oriDomi.coffee']
+ coffee.stdout.on 'data', output
+ coffee.stderr.on 'data', output
View
22 LICENSE
@@ -0,0 +1,22 @@
+Copyright (c) 2012 Dan Motzenbecker
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation
+files (the "Software"), to deal in the Software without
+restriction, including without limitation the rights to use,
+copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the
+Software is furnished to do so, subject to the following
+conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
+OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
+HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+OTHER DEALINGS IN THE SOFTWARE.
Please sign in to comment.
Something went wrong with that request. Please try again.