mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
[API Refactor] Move rebundle script
...out of top-level, into a scripts directory.
This commit is contained in:
parent
3bf2819c07
commit
cacc295524
@ -20,6 +20,7 @@
|
|||||||
"karma-jasmine": "^0.1.5",
|
"karma-jasmine": "^0.1.5",
|
||||||
"karma-phantomjs-launcher": "^0.1.4",
|
"karma-phantomjs-launcher": "^0.1.4",
|
||||||
"karma-requirejs": "^0.2.2",
|
"karma-requirejs": "^0.2.2",
|
||||||
|
"lodash": "^3.10.1",
|
||||||
"markdown-toc": "^0.11.7",
|
"markdown-toc": "^0.11.7",
|
||||||
"marked": "^0.3.5",
|
"marked": "^0.3.5",
|
||||||
"mkdirp": "^0.5.1",
|
"mkdirp": "^0.5.1",
|
||||||
|
1
pom.xml
1
pom.xml
@ -150,6 +150,7 @@
|
|||||||
<exclude>node_modules/**/*</exclude>
|
<exclude>node_modules/**/*</exclude>
|
||||||
<exclude>protractor/**/*</exclude>
|
<exclude>protractor/**/*</exclude>
|
||||||
<exclude>target/**/*</exclude>
|
<exclude>target/**/*</exclude>
|
||||||
|
<exclude>scripts/**/*</exclude>
|
||||||
</excludes>
|
</excludes>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
|
@ -3,8 +3,11 @@
|
|||||||
|
|
||||||
var glob = require('glob'),
|
var glob = require('glob'),
|
||||||
fs = require('fs'),
|
fs = require('fs'),
|
||||||
|
path = require('path'),
|
||||||
_ = require('lodash'),
|
_ = require('lodash'),
|
||||||
template = _.template(fs.readFileSync('template.txt', 'utf8'));
|
template = _.template(
|
||||||
|
fs.readFileSync(path.resolve(__dirname, 'template.txt'), 'utf8')
|
||||||
|
);
|
||||||
|
|
||||||
function indent(str, depth) {
|
function indent(str, depth) {
|
||||||
return _.trimLeft(str.split('\n').map(function (line) {
|
return _.trimLeft(str.split('\n').map(function (line) {
|
Loading…
Reference in New Issue
Block a user