Skip to content

Commit 41730a1

Browse files
committed
Don't use import std
1 parent bc10c3f commit 41730a1

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

book/build.d

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
module book.build;
2-
import std;
2+
import std.string;
3+
import std.process;
4+
import std.algorithm;
5+
import std.file;
6+
import std.stdio;
7+
import std.exception;
8+
39
void compileToPath(string compileThis, string outputPath, bool loud = false)
410
{
511
import core.stdc.stdlib;
@@ -23,6 +29,10 @@ void compileToPath(string compileThis, string outputPath, bool loud = false)
2329
}
2430
int main(string[] args)
2531
{
32+
import std.typecons;
33+
import std.path;
34+
import std.parallelism;
35+
import std.conv : to;
2636
const jobs = args.length == 2 ? args[1].to!ubyte : 1;
2737
const outDir = "../web/book";
2838
writeln("Building the book at ", outDir);

0 commit comments

Comments
 (0)