mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fixes #1050. With the upgrade to CoffeeScript 1.6.2 the source file name and line number of a parse error is no longer present in the `message` field of the exception.
23 lines
545 B
JavaScript
23 lines
545 B
JavaScript
Package.describe({
|
|
summary: "Javascript dialect with fewer braces and semicolons"
|
|
});
|
|
|
|
Package._transitional_registerBuildPlugin({
|
|
name: "compileCoffeescript",
|
|
use: [],
|
|
sources: [
|
|
'plugin/compile-coffeescript.js'
|
|
],
|
|
npmDependencies: {"coffee-script": "1.6.2"}
|
|
});
|
|
|
|
Package.on_test(function (api) {
|
|
api.use(['coffeescript', 'tinytest']);
|
|
api.add_files([
|
|
'coffeescript_tests.coffee',
|
|
'coffeescript_strict_tests.coffee',
|
|
'litcoffeescript_tests.litcoffee',
|
|
'coffeescript_tests.js'
|
|
], ['client', 'server']);
|
|
});
|