diff --git a/dub.json b/dub.json index 2d72e33..3aef623 100644 --- a/dub.json +++ b/dub.json @@ -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" ] diff --git a/source/colorize.d b/source/colorize/colorize.d similarity index 99% rename from source/colorize.d rename to source/colorize/colorize.d index ae707c6..49628d8 100644 --- a/source/colorize.d +++ b/source/colorize/colorize.d @@ -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; diff --git a/source/colorize/package.d b/source/colorize/package.d new file mode 100644 index 0000000..0669be1 --- /dev/null +++ b/source/colorize/package.d @@ -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; \ No newline at end of file diff --git a/source/colorize/winterm.d b/source/colorize/winterm.d new file mode 100644 index 0000000..93030d7 --- /dev/null +++ b/source/colorize/winterm.d @@ -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; \ No newline at end of file