The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
254 B
14 lines
254 B
3 years ago
|
module generator;
|
||
|
|
||
|
import std.file;
|
||
|
import std.stdio;
|
||
|
import std.string;
|
||
|
|
||
|
void main(string[] args)
|
||
|
{
|
||
|
const text = cast(string)read(args[1]);
|
||
|
|
||
|
writeln("module generated;");
|
||
|
writefln!`string generatedString() { return "%s"; }`(text.strip());
|
||
|
}
|