Thread overview | ||||||||
---|---|---|---|---|---|---|---|---|
|
January 01, 2020 Project setup for DUB | ||||
---|---|---|---|---|
| ||||
Hello everyone, I was interested in contributing to the DUB project. So, I forked the repo, installed DMD and libcurl as instructed in the README. I ran build.sh inside the repo. It then creates a dub executable inside of bin folder. After that I was stuck as there was no documentation on how to make changes or how to compile the thing. I then ran ./bin/dub and it started some compilation. The linking also worked. After that I see this : Performing "debug" build using dmd for x86-64. dub 1.19.0-rc.1+commit.20.g14cc8e5: building configuration "application"... Serializing composite type BuildRequirements which has no serializable fields Serializing composite type BuildOptions which has no serializable fields Linking... Running ./bin/dub Performing "debug" build using dmd for x86_64. dub 1.19.0-rc.1+commit.20.g14cc8e5: target for configuration "application" is up to date. To force a rebuild of up-to-date targets, run again with --force. Running ./bin/dub Performing "debug" build using dmd for x86_64. dub 1.19.0-rc.1+commit.20.g14cc8e5: target for configuration "application" is up to date. To force a rebuild of up-to-date targets, run again with --force. Running ./bin/dub Performing "debug" build using dmd for x86_64. dub 1.19.0-rc.1+commit.20.g14cc8e5: target for configuration "application" is up to date. To force a rebuild of up-to-date targets, run again with --force. ... I am now stuck here not knowing what should I do next or how should I compile. I'm using WSL (Windows subsystem for linux) I believe this is a beginner's issue so please help me out here. Thanks. |
January 01, 2020 Re: Project setup for DUB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Ankush Bhardwaj | On 01/01/2020 9:11 PM, Ankush Bhardwaj wrote:
> I am now stuck here not knowing what should I do next or how should I compile.
Compile what?
You successfully compiled and ran your dub build.
Please note the default action is to run, so using `dub` by itself is equivalent to `dub run`. Hence the recursive executions.
Use `dub build` if all you want to do is build.
|
January 01, 2020 Re: Project setup for DUB | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | On Wednesday, 1 January 2020 at 08:37:43 UTC, rikki cattermole wrote:
> On 01/01/2020 9:11 PM, Ankush Bhardwaj wrote:
>> I am now stuck here not knowing what should I do next or how should I compile.
>
> Compile what?
> You successfully compiled and ran your dub build.
>
> Please note the default action is to run, so using `dub` by itself is equivalent to `dub run`. Hence the recursive executions.
>
> Use `dub build` if all you want to do is build.
In addition to that, there are different ways how you can contribute to Dub:
- enhancing the dub help on code.dlang.org
- finding duplicate/already solved issues on the github issue tracker
Especially the issues list is a good starting point for new contributors to get some ideas how to contribute.
Kind regards
Andre
|
January 04, 2020 Re: Project setup for DUB | ||||
---|---|---|---|---|
| ||||
Posted in reply to rikki cattermole | On Wednesday, 1 January 2020 at 08:37:43 UTC, rikki cattermole wrote:
> On 01/01/2020 9:11 PM, Ankush Bhardwaj wrote:
>> I am now stuck here not knowing what should I do next or how should I compile.
>
> Compile what?
> You successfully compiled and ran your dub build.
>
> Please note the default action is to run, so using `dub` by itself is equivalent to `dub run`. Hence the recursive executions.
>
> Use `dub build` if all you want to do is build.
Oops, my bad. For some reason, `build` happened again and again. It didn't stop after building once. Anyways `dub build` worked. Thanks :D
|
January 04, 2020 Re: Project setup for DUB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Wednesday, 1 January 2020 at 13:19:20 UTC, Andre Pany wrote:
> On Wednesday, 1 January 2020 at 08:37:43 UTC, rikki cattermole wrote:
>
> In addition to that, there are different ways how you can contribute to Dub:
>
> - enhancing the dub help on code.dlang.org
> - finding duplicate/already solved issues on the github issue tracker
>
> Especially the issues list is a good starting point for new contributors to get some ideas how to contribute.
>
> Kind regards
> Andre
Thanks. I'll definitely look at some issues on the issue tracker.
|
January 04, 2020 Re: Project setup for DUB | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andre Pany | On Wednesday, 1 January 2020 at 13:19:20 UTC, Andre Pany wrote:
> In addition to that, there are different ways how you can contribute to Dub:
>
> - enhancing the dub help on code.dlang.org
Does anyone know dub well enough to do this? :)
|
Copyright © 1999-2021 by the D Language Foundation