mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-25 21:06:17 +00:00
get project name from dir name
This commit is contained in:
parent
9f4be8976e
commit
c4c3a73b01
@ -1,6 +1,4 @@
|
|||||||
|
|
||||||
name: nci
|
|
||||||
|
|
||||||
# still cloning fake repo, coz no git support
|
# still cloning fake repo, coz no git support
|
||||||
scm:
|
scm:
|
||||||
type: mercurial
|
type: mercurial
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
|
|
||||||
name: project1
|
|
||||||
|
|
||||||
scm:
|
scm:
|
||||||
type: mercurial
|
type: mercurial
|
||||||
repository: ./test/repos/mercurial
|
repository: ./test/repos/mercurial
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
{
|
{
|
||||||
"name": "project2",
|
|
||||||
"scm": {
|
"scm": {
|
||||||
"type": "mercurial",
|
"type": "mercurial",
|
||||||
"repository": "./test/repos/mercurial",
|
"repository": "./test/repos/mercurial",
|
||||||
|
@ -31,6 +31,7 @@ exports.load = function(baseDir, name, callback) {
|
|||||||
exports.validateConfig(config, this.slot());
|
exports.validateConfig(config, this.slot());
|
||||||
},
|
},
|
||||||
function(err, config) {
|
function(err, config) {
|
||||||
|
config.name = name;
|
||||||
config.dir = dir;
|
config.dir = dir;
|
||||||
this.pass(config);
|
this.pass(config);
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user