mirror of
https://github.com/actraiser/dustlayer.git
synced 2025-06-18 08:55:39 -04:00
renamed repos
This commit is contained in:
parent
68655ef5c0
commit
6102686705
@ -6,7 +6,7 @@ var dust = require('../bin/dust');
|
||||
***************************************/
|
||||
|
||||
dust.cmd
|
||||
.version('0.4.4')
|
||||
.version('0.4.5')
|
||||
.usage('<command> [arguments]');
|
||||
|
||||
/*
|
||||
|
@ -3,7 +3,7 @@ var dust = require('../bin/dust');
|
||||
|
||||
var operatingSystem = operatingSystem();
|
||||
var osVersion = dust.shell.exec("sw_vers -productVersion", {silent:dust.silent}).output;
|
||||
var dustVersion = '0.4.4 (2013-04-16)';
|
||||
var dustVersion = '0.4.5 (2013-04-16)';
|
||||
|
||||
exports.operatingSystem = operatingSystem
|
||||
exports.osVersion = osVersion;
|
||||
|
@ -51,6 +51,8 @@ function formatTutorialsList(data){
|
||||
}
|
||||
|
||||
function formatName(repositoryName){
|
||||
var strippedName = repositoryName.match(new RegExp(dust.config.mods[dust.config.activeMod].tutorialsIdentifier + '-[0-9]{3}-(.*)','i'));
|
||||
return strippedName = strippedName[1].replace(/-/g, ' ');
|
||||
var strippedName = repositoryName.match(new RegExp(dust.config.mods[dust.config.activeMod].tutorialsIdentifier + '-','i'));
|
||||
strippedName = repositoryName.replace(strippedName[0], '');
|
||||
strippedName = strippedName.replace(/-/g, ' ');
|
||||
return strippedName;
|
||||
}
|
||||
|
@ -50,6 +50,8 @@ function formatTemplatesList(data,target){
|
||||
}
|
||||
|
||||
function formatName(repositoryName){
|
||||
var strippedName = repositoryName.match(new RegExp(dust.config.mods[dust.config.activeMod].templatesIdentifier + '-[0-9]{3}-(.*)','i'));
|
||||
return strippedName = strippedName[1].replace(/-/g, ' ');
|
||||
var strippedName = repositoryName.match(new RegExp(dust.config.mods[dust.config.activeMod].templatesIdentifier + '-','i'));
|
||||
strippedName = repositoryName.replace(strippedName[0], '');
|
||||
strippedName = strippedName.replace(/-/g, ' ');
|
||||
return strippedName;
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "dustlayer",
|
||||
"preferGlobal": true,
|
||||
"version": "0.4.4",
|
||||
"version": "0.4.5",
|
||||
"homepage": "http://dustlayer.com",
|
||||
"author": "actraiser <actraiser@dustlayer.com>",
|
||||
"description": "command line suite for new and experienced retro programmers. Check homepage for details.",
|
||||
|
1
target
Submodule
1
target
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit e51ab979b41d0f43e15f3f8c43652817773927ca
|
Loading…
Reference in New Issue
Block a user