Update README.md

This commit is contained in:
abraunegg 2018-07-24 19:22:44 +10:00 committed by GitHub
parent a491620c1a
commit 6542d2f69c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,15 @@ sudo dnf install ldc
sudo pacman -S curl sqlite dmd
```
### Installation
### Compilation & Installation
Before cloning and compiling, if you have installed DMD via curl for your OS, you will need to activate DMD as per below:
```
Run `source ~/dlang/dmd-2.081.1/activate` in your shell to use dmd-2.081.1.
This will setup PATH, LIBRARY_PATH, LD_LIBRARY_PATH, DMD, DC, and PS1.
Run `deactivate` later on to restore your environment.
```
Without performing this step, the compilation process will fail.
```sh
git clone https://github.com/abraunegg/onedrive.git
cd onedrive