mirror of
https://github.com/wekan/wekan.git
synced 2026-02-14 20:18:07 +01:00
Include to Wekan packages directory contents, so that meteor command would build all directly.
This also simplifies build scripts. Thanks to xet7 !
This commit is contained in:
parent
6117097a93
commit
73e265d8fd
354 changed files with 36977 additions and 106 deletions
24
packages/markdown/package.js
Executable file
24
packages/markdown/package.js
Executable file
|
|
@ -0,0 +1,24 @@
|
|||
// Source: https://github.com/chjj/marked
|
||||
|
||||
Package.describe({
|
||||
name: 'wekan-markdown',
|
||||
summary: "GitHub flavored markdown parser for Meteor based on marked.js",
|
||||
version: "1.0.7",
|
||||
git: "https://github.com/wekan/markdown.git"
|
||||
});
|
||||
|
||||
// Before Meteor 0.9?
|
||||
if(!Package.onUse) Package.onUse = Package.on_use;
|
||||
|
||||
Package.onUse(function (api) {
|
||||
if(api.versionsFrom) api.versionsFrom('METEOR@0.9.0');
|
||||
|
||||
api.use('templating');
|
||||
|
||||
api.add_files('marked/lib/marked.js', ['server', 'client']);
|
||||
api.add_files('markdown.js', ['server', 'client']);
|
||||
api.export('Markdown', ['server', 'client']);
|
||||
|
||||
api.use("ui", "client", {weak: true});
|
||||
api.add_files("template-integration.js", "client");
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue