mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-11 08:35:07 +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
|
||||
scm:
|
||||
type: mercurial
|
||||
|
@ -1,6 +1,4 @@
|
||||
|
||||
name: project1
|
||||
|
||||
scm:
|
||||
type: mercurial
|
||||
repository: ./test/repos/mercurial
|
||||
|
@ -1,5 +1,4 @@
|
||||
{
|
||||
"name": "project2",
|
||||
"scm": {
|
||||
"type": "mercurial",
|
||||
"repository": "./test/repos/mercurial",
|
||||
|
@ -31,6 +31,7 @@ exports.load = function(baseDir, name, callback) {
|
||||
exports.validateConfig(config, this.slot());
|
||||
},
|
||||
function(err, config) {
|
||||
config.name = name;
|
||||
config.dir = dir;
|
||||
this.pass(config);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user