Skip to content

Instantly share code, notes, and snippets.

@Superstar64
Last active February 21, 2019 23:43
Show Gist options
  • Save Superstar64/8b896312ebe1a6e6240b1cba8aed2488 to your computer and use it in GitHub Desktop.
Save Superstar64/8b896312ebe1a6e6240b1cba8aed2488 to your computer and use it in GitHub Desktop.
D in makefiles
.ONESHELL:
SHELL = rdmd
.SHELLFLAGS = --eval
squares.txt:
auto squares = sequence!("n*n").take(100);
std.file.write("$@",squares.to!string);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment