Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8dade860f5 | |||
| 9d4c8ce68b |
8
dist/npmci.build.docker.js
vendored
8
dist/npmci.build.docker.js
vendored
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "npmci",
|
"name": "npmci",
|
||||||
"version": "2.1.12",
|
"version": "2.1.13",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import * as NpmciEnv from "./npmci.env";
|
|||||||
export let build = function(){
|
export let build = function(){
|
||||||
let done = plugins.q.defer();
|
let done = plugins.q.defer();
|
||||||
plugins.gulp.dest("./Dockerfile*")
|
plugins.gulp.dest("./Dockerfile*")
|
||||||
.pipe(readDockerfiles)
|
.pipe(readDockerfiles())
|
||||||
.pipe(plugins.gulpFunction(function(){
|
.pipe(plugins.gulpFunction(function(){
|
||||||
sortDockerfiles()
|
sortDockerfiles()
|
||||||
.then(buildDockerfiles)
|
.then(buildDockerfiles)
|
||||||
@@ -15,7 +15,7 @@ export let build = function(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
let readDockerfiles = function(){
|
let readDockerfiles = function(){
|
||||||
return function(file,enc,cb){
|
return plugins.trhough2(function(file,enc,cb){
|
||||||
let myDockerfile = new Dockerfile({
|
let myDockerfile = new Dockerfile({
|
||||||
filePath:file.path,
|
filePath:file.path,
|
||||||
read:true
|
read:true
|
||||||
@@ -24,7 +24,7 @@ let readDockerfiles = function(){
|
|||||||
myDockerfile
|
myDockerfile
|
||||||
);
|
);
|
||||||
cb(null,file);
|
cb(null,file);
|
||||||
};
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
let sortDockerfiles = function(){
|
let sortDockerfiles = function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user