Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Upgraded easy-bake and added tests for production

  • Loading branch information...
commit 6081468a6749314fe04184d8d08348a4c1e39f5d 1 parent 59267fa
@kmalakoff authored
View
1  .travis.yml
@@ -4,7 +4,6 @@ node_js:
notifications:
email:
- on_success: always # [always|never|change] default: change
on_failure: always # [always|never|change] default: always
before_script:
View
2  Cakefile
@@ -1,2 +1,2 @@
easybake = require('easy-bake')
-new easybake.Baker('easy-bake-config.yaml')
+(new easybake.Oven('easy-bake-config.yaml')).publishTasks()
View
17 README.md
@@ -119,7 +119,7 @@ Provides a way to publish subscriptions (publishSubscription) and notify subscri
Provides named timeout management and automatically cleaning them up when an instance is destroyed.
-Building the library
+Building, Running and Testing the library
-----------------------
###Installing:
@@ -129,17 +129,4 @@ Building the library
###Commands:
-1. 'cake clean' - cleans the project of all compiled files
-2. 'cake build' - performs a single build
-3. 'cake watch' - automatically scans for and builds the project when changes are detected
-4. 'cake test' - cleans, builds, and runs tests. Note: the tests require installing phantomjs: ('brew install phantomjs' or http://phantomjs.org/)
-
-Options:
-=======
-
-Enjoy and please let me know if you have any mixins that you want to share!
-
-1. '-c' or '--clean' - cleans the project before running a new command
-2. '-w' or '--watch' - watches for changes
-3. '-s' or '--silent' - does not output messages to the console (unless errors occur)
-4. '-p' or '--preview' - preview the action
+Look at: https://github.com/kmalakoff/easy-bake
View
6 easy-bake-config.yaml
@@ -1,13 +1,13 @@
library_core:
join: mixin_core.js
- minimize: true
+ compress: true
files:
- src/mixin_core.coffee
- src/mixin_core_statistics.coffee
library:
join: mixin.js
- minimize: true
+ compress: true
files:
- src/mixin_core.coffee
- src/mixin_core_statistics.coffee
@@ -15,7 +15,7 @@ library:
library_individual_mixins:
output: lib
- minimize: true
+ compress: true
directories:
- src/lib
View
21 package.json
@@ -1,25 +1,24 @@
{
- "author": "Kevin Malakoff <https://github.com/kmalakoff>",
- "name": "mixin-js",
- "description": "Mixin.js is the 'reuse more' Javascript nano-framework. Stay DRY...mixin!",
+ "author" : "Kevin Malakoff <https://github.com/kmalakoff>",
+ "name" : "mixin-js",
+ "description" : "Mixin.js is the 'reuse more' Javascript nano-framework. Stay DRY...mixin!",
"keywords" : ["mixin-js", "mixinjs", "mixin", "javascript", "coffeescript"],
- "url": "http://kmalakoff.github.com/mixin/",
- "homepage": "http://kmalakoff.github.com/mixin/",
+ "url" : "http://kmalakoff.github.com/mixin/",
+ "homepage" : "http://kmalakoff.github.com/mixin/",
"repository": {
"type": "git",
"url": "http://github.com/kmalakoff/mixin.git"
},
"scripts": {
- "test": "node_modules/.bin/cake -c test"
+ "test": "node_modules/.bin/cake -c -b test"
},
"devDependencies": {
- "coffee-script": ">=1.3.3",
- "easy-bake": "0.1.1"
+ "coffee-script": "latest",
+ "easy-bake": "0.1.2"
},
- "lib" : ".",
- "main" : "mixin.js",
- "version": "0.1.2"
+ "main" : "mixin.js",
+ "version" : "0.1.2"
}
View
27 test/mixin_auto_memory/test.min.html
@@ -0,0 +1,27 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Mixin.js Test Suite - Mixin.AutoMemory (Production)</title>
+ <link rel="stylesheet" href="../vendor/qunit/qunit.css" type="text/css" media="screen" />
+ <script type="text/javascript" src="../vendor/qunit/jquery.js"></script>
+ <script type="text/javascript" src="../vendor/qunit/qunit.js"></script>
+ <script type="text/javascript" src="../vendor/qunit/jslitmus.js"></script>
+
+ <script type="text/javascript" src="../../mixin_core.min.js"></script>
+ <script type="text/javascript">Mixin.DEBUG=true;</script>
+
+ <script type="text/javascript" src="../../lib/mixin_auto_memory.min.js"></script>
+ <script type="text/javascript">Mixin.AutoMemory.DEBUG=true;</script>
+
+ <script type="text/javascript" src="build/test.js"></script>
+</head>
+<body>
+ <div>
+ <h1 id="qunit-header">Mixin.js Test Suite - Mixin.AutoMemory (Production)</h1>
+ <h2 id="qunit-banner"></h2>
+ <h2 id="qunit-userAgent"></h2>
+ <ol id="qunit-tests"></ol>
+ <br />
+ </div>
+</body>
+</html>
View
26 test/mixin_flags/test.min.html
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Mixin.js Test Suite - Mixin.Flags (Production)</title>
+ <link rel="stylesheet" href="../vendor/qunit/qunit.css" type="text/css" media="screen" />
+ <script type="text/javascript" src="../vendor/qunit/jquery.js"></script>
+ <script type="text/javascript" src="../vendor/qunit/qunit.js"></script>
+ <script type="text/javascript" src="../vendor/qunit/jslitmus.js"></script>
+
+ <script type="text/javascript" src="../../mixin_core.min.js"></script>
+ <script type="text/javascript">Mixin.DEBUG=true;</script>
+
+ <script type="text/javascript" src="../../lib/mixin_flags.min.js"></script>
+
+ <script type="text/javascript" src="build/test.js"></script>
+</head>
+<body>
+ <div>
+ <h1 id="qunit-header">Mixin.js Test Suite - Mixin.Flags (Production)</h1>
+ <h2 id="qunit-banner"></h2>
+ <h2 id="qunit-userAgent"></h2>
+ <ol id="qunit-tests"></ol>
+ <br />
+ </div>
+</body>
+</html>
View
26 test/mixin_ref_count/test.min.html
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Mixin.js Test Suite - Mixin.RefCount (Production)</title>
+ <link rel="stylesheet" href="../vendor/qunit/qunit.css" type="text/css" media="screen" />
+ <script type="text/javascript" src="../vendor/qunit/jquery.js"></script>
+ <script type="text/javascript" src="../vendor/qunit/qunit.js"></script>
+ <script type="text/javascript" src="../vendor/qunit/jslitmus.js"></script>
+
+ <script type="text/javascript" src="../../mixin_core.min.js"></script>
+ <script type="text/javascript">Mixin.DEBUG=true;</script>
+
+ <script type="text/javascript" src="../../lib/mixin_ref_count.min.js"></script>
+
+ <script type="text/javascript" src="build/test.js"></script>
+</head>
+<body>
+ <div>
+ <h1 id="qunit-header">Mixin.js Test Suite - Mixin.RefCount (Production)</h1>
+ <h2 id="qunit-banner"></h2>
+ <h2 id="qunit-userAgent"></h2>
+ <ol id="qunit-tests"></ol>
+ <br />
+ </div>
+</body>
+</html>
View
26 test/mixin_timeouts/test.min.html
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+ <title>Mixin.js Test Suite - Mixin.Timeouts</title>
+ <link rel="stylesheet" href="../vendor/qunit/qunit.css" type="text/css" media="screen" />
+ <script type="text/javascript" src="../vendor/qunit/jquery.js"></script>
+ <script type="text/javascript" src="../vendor/qunit/qunit.js"></script>
+ <script type="text/javascript" src="../vendor/qunit/jslitmus.js"></script>
+
+ <script type="text/javascript" src="../../mixin_core.min.js"></script>
+ <script type="text/javascript">Mixin.DEBUG=true;</script>
+
+ <script type="text/javascript" src="../../lib/mixin_timeouts.min.js"></script>
+
+ <script type="text/javascript" src="build/test.js"></script>
+</head>
+<body>
+ <div>
+ <h1 id="qunit-header">Mixin.js Test Suite - Mixin.Timeouts</h1>
+ <h2 id="qunit-banner"></h2>
+ <h2 id="qunit-userAgent"></h2>
+ <ol id="qunit-tests"></ol>
+ <br />
+ </div>
+</body>
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.