Merge pull request #349 from MartinNowak/merge_stable

Merge remote-tracking branch 'upstream/stable' into merge_stable
merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
This commit is contained in:
The Dlang Bot 2018-05-02 02:40:48 +02:00 committed by GitHub
commit 60c0f8921b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,12 +0,0 @@
rdmd can now be used as a shell in makefiles
With gnu make(3.82 or higher), rdmd can now be used in makefiles.
This is accomplished by setting the SHELL and .SHELLFLAGS to /usr/bin/rdmd and --eval respectively.
---
.ONESHELL:
SHELL = /usr/bin/rdmd
.SHELLFLAGS = --eval
hello.txt:
$(TAB)import std.file;
$(TAB)write("$@","hello world\n");
---