Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

emit deprecation warnings

  • Loading branch information...
commit 29302a900d7fdd8e8d33b126b6247199479dfa70 1 parent 458adf4
@isao isao authored
Showing with 8 additions and 0 deletions.
  1. +5 −0 DEPRECATIONS.md
  2. +3 −0  lib/app/commands/compile.js
View
5 DEPRECATIONS.md
@@ -24,6 +24,7 @@ root folder:
Deprecated with Warnings
========================
+* (2012-12-05) the `mojito compile` command will be removed in future releases, in favor of [Shaker](/yahoo/mojito-shaker).
* (2012-04-23) `ac.dispatch()` will be going away.
Currently the best alternative is `ac._dispatch()`.
@@ -31,6 +32,10 @@ Currently the best alternative is `ac._dispatch()`.
Removed
=======
+### (0.5.0) Mojito `compile` command line tool no longer needs a `rollup` command
+
+Javascript file concatenation/combo'ing of mojito files is now built-in.
+
### (0.5.0) Mojito No Longer Adds Common ActionContext Addons
In the past, a subset of the addons provided by Mojito framework were attached on every `ActionContext` object (which are created per request, per mojit instance in the page).
View
3  lib/app/commands/compile.js
@@ -50,6 +50,8 @@ var libpath = require('path'),
});
usage = [
+ 'DEPRECATED: the compile command is deprecated.',
+ '',
'mojito compile {options} {type}',
'OPTIONS: ',
' --remove remove all compiled files, instead of creating them',
@@ -224,6 +226,7 @@ run = function(params, options, callback) {
libutils.log(msg);
});
libutils.log('');
+ libutils.warn('DEPRECATED the compile command is deprecated.');
callback(err);
};
Please sign in to comment.
Something went wrong with that request. Please try again.