Skip to content

Commit 900cb13

Browse files
committed
Inital commit.
0 parents  commit 900cb13

4 files changed

Lines changed: 31 additions & 0 deletions

File tree

README.md

Whitespace-only changes.

compiler-tests.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
// Write your tests here!
2+
// Here is an example.
3+
Tinytest.add('example', function (test) {
4+
test.equal(true, true);
5+
});

compiler.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
JavascriptPipelineCompiler = new Pipeline();
2+
Plugin.registerCompiler({
3+
extensions: ['js'],
4+
}, function () {
5+
return JavascriptPipelineCompiler;
6+
});

package.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Package.describe({
2+
name: 'pipeline:js',
3+
version: '0.0.1',
4+
summary: 'Javascript Pipeline',
5+
git: 'https://github.com/MeteorPipeline/js',
6+
documentation: 'README.md'
7+
});
8+
9+
Package.onUse(function(api) {
10+
api.use('isobuild:compiler-plugin@1.0.0');
11+
api.use('pipeline:core');
12+
api.addFiles('compiler.js');
13+
api.export('JavascriptPipelineCompiler');
14+
});
15+
16+
Package.onTest(function(api) {
17+
api.use(["tinytest", "underscore"]);
18+
api.use(["pipeline:core"]);
19+
api.addFiles('compiler-tests.js');
20+
});

0 commit comments

Comments
 (0)