From 7628f33074f83570052426ace85c760d662a3f97 Mon Sep 17 00:00:00 2001 From: omdxp Date: Sat, 20 Apr 2024 23:14:57 +0200 Subject: [PATCH] add d readme --- README.md | 1 + d/.gitignore | 13 ++++++------- d/README.md | 26 ++++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 d/README.md diff --git a/README.md b/README.md index 2fc8617..3468cee 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ You can find more about each language by clicking on the language name | [C#](./csharp) | n/a | n/a | n/a | n/a | | [Rust](./rust) | WIP | WIP | WIP | n/a | | [C](./c) | ![](https://img.shields.io/conan/v/kuliya) | ![](https://github.com/dzcode-io/kuliya/actions/workflows/c-checks.yml/badge.svg) | WIP | n/a | +| [D](./d) | WIP | WIP | WIP | n/a | ## Contributing diff --git a/d/.gitignore b/d/.gitignore index 901d17c..0158b86 100644 --- a/d/.gitignore +++ b/d/.gitignore @@ -3,15 +3,14 @@ docs.json __dummy.html docs/ /kuliya -kuliya.so -kuliya.dylib -kuliya.dll -kuliya.a -kuliya.lib -kuliya-test-* +*.so +*.dylib +*.dll +*.a +*.lib +d-test-* *.exe *.pdb *.o *.obj *.lst -d-test-library diff --git a/d/README.md b/d/README.md new file mode 100644 index 0000000..bb4782f --- /dev/null +++ b/d/README.md @@ -0,0 +1,26 @@ +# kuliya for D + +Algeria's college hierarchy dataset as a D package + +# Prerequisites +- One of these compilers: + - [DMD](https://dlang.org/download.html#dmd) official compiler (works fine with dub) + - [GDC](https://gdcproject.org/downloads) GCC based compiler + - [LDC](https://github.com/ldc-developers/ldc#installation) LLVM based compiler +- [DUB](https://dub.pm/getting-started/install/) package manager + - Note: you might need install the x86_64 arch for Apple silicon machines: + ```sh + arch -x86_64 /usr/local/bin/brew install dub + ``` +- Any IDE out there, preferably [VSCode](https://code.visualstudio.com/download) with [code-d](https://marketplace.visualstudio.com/items?itemName=webfreak.code-d) extension + +# Get Started + +- Run test: +```sh +cd d && dub test +``` + +# Contribute + +Feel free to ask for help in [#kuliya](https://dzcode.slack.com/archives/C01C0155CKC) group chat