Reorganize package as to split in several files (colourize, Windows term emulation, and cprintf functions).

This commit is contained in:
ponce 2014-07-28 22:54:08 +02:00
parent b4a23ba7cf
commit 5caf15bd46
4 changed files with 20 additions and 0 deletions

View file

@ -3,6 +3,8 @@
"description": "A port of Ruby's colorize library to D.",
"license": "MIT",
"copyright": "Copyright © 2014, Pedro Tacla Yamada",
"importPaths": ["source"],
"sourcePaths": ["source"],
"authors": [
"Pedro Tacla Yamada"
]

View file

@ -4,6 +4,7 @@
* License: Licensed under the MIT license. See LICENSE for more information
* Version: 0.1.0
*/
module colorize.colorize;
import std.string : format;

10
source/colorize/package.d Normal file
View file

@ -0,0 +1,10 @@
/**
* Authors: ponce
* Date: July 28, 2014
* License: Licensed under the MIT license. See LICENSE for more information
* Version: 0.1.0
*/
module colorize;
public import colorize.colorize;
public import colorize.winterm;

View file

@ -0,0 +1,7 @@
/**
* Authors: ponce
* Date: July 28, 2014
* License: Licensed under the MIT license. See LICENSE for more information
* Version: 0.1.0
*/
module colorize.winterm;