From f1fe96fab158c3d1e2564664d12c992c30d74bd6 Mon Sep 17 00:00:00 2001 From: Stepan Syrtsov Date: Fri, 14 Mar 2025 21:50:59 +0300 Subject: [PATCH] Corrected 'Compilation' paragraph in install.ru.md and install.md --- install.md | 8 ++++---- install.ru.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/install.md b/install.md index e79fc9d..7064245 100644 --- a/install.md +++ b/install.md @@ -44,11 +44,11 @@ brew install dmd After installing dmd, you should run: ``` git clone https://github.com/GassaFM/interpr -cd interpr/source -dub build +cd interpr +dmd -of=interpr source/*.d ``` -Or, instead of the last line: +You also may use `dub` to build an executable: ``` -dmd -of=interpr source/*.d +dub build ``` Now you have an executable file `interpr`. diff --git a/install.ru.md b/install.ru.md index 912499b..283973f 100644 --- a/install.ru.md +++ b/install.ru.md @@ -45,10 +45,10 @@ brew install dmd ``` git clone https://github.com/GassaFM/interpr cd interpr -dub build +dmd -of=interpr source/*.d ``` -Или вместо последней строчки: +Также можно собрать исполняемый файл при помощи `dub`: ``` -dmd -of=interpr source/*.d +dub build ``` Теперь у Вас есть исполняемый файл `interpr`.