UNPKG

597 BJavaScriptView Raw
1#!/usr/bin/env node
2
3/**
4 * @file Build this project.
5 */
6
7var path = require('path');
8
9var basedir = path.resolve(__dirname, '..'),
10 pkg = require('../package.json');
11
12var taskContrib = require('apeman-tmpl-contrib-official/lib/task_contrib');
13
14process.chdir(basedir);
15
16taskContrib.render({
17 ignore: [],
18 year: new Date().getFullYear(),
19 pkg: pkg,
20 signature: require('../.signature'),
21 see: {
22 'nodeunit': 'https://github.com/caolan/nodeunit'
23 }
24}, function (err) {
25 if (err) {
26 console.error(err);
27 } else {
28 console.log('Build done!');
29 }
30});
\No newline at end of file