On Wednesday, 17 March 2021 at 20:24:19 UTC, Tobias Pankrath
wrote:
For scripts this could be a good way, but it does not really
work with most dub packages:
1. put all your dependencies into a single location, like
/home//dstuff
2. add -I /home//dstuff to your call to rdmd/dmd (or put
On Wednesday, 17 March 2021 at 20:13:49 UTC, Imperatorn wrote:
On Wednesday, 17 March 2021 at 19:33:26 UTC, Chris Piker wrote:
On Wednesday, 17 March 2021 at 09:34:21 UTC, Mike Parker wrote:
[...]
Sure will, thanks for the invite to contribute in a specific
way.
[...]
You probably
On Wednesday, 17 March 2021 at 19:33:26 UTC, Chris Piker wrote:
So, if I could do the equivalent of:
dub add-path
via an environment variable (not a permanent change under
~/.dub), or have some environment variable that tells dub where
to read a "system-level" local-packages.json file and
On Wednesday, 17 March 2021 at 19:33:26 UTC, Chris Piker wrote:
On Wednesday, 17 March 2021 at 09:34:21 UTC, Mike Parker wrote:
[...]
Sure will, thanks for the invite to contribute in a specific
way.
[...]
You probably already know this, just sharing:
On Wednesday, 17 March 2021 at 09:34:21 UTC, Mike Parker wrote:
On Wednesday, 17 March 2021 at 07:13:31 UTC, Chris Piker wrote:
Very handy example. Unfortunately it means that paths are
embedded
in scripts, which is usually a bad idea.
The ability to use D source modules “script style” is
On Wednesday, 17 March 2021 at 07:13:31 UTC, Chris Piker wrote:
Very handy example. Unfortunately it means that paths are
embedded
in scripts, which is usually a bad idea.
The ability to use D source modules “script style” is something
that has grown organically over time largely as a
On Wednesday, 17 March 2021 at 07:13:31 UTC, Chris Piker wrote:
On Wednesday, 17 March 2021 at 06:07:01 UTC, user1234 wrote:
[...]
Very handy example. Unfortunately it means that paths are
embedded
in scripts, which is usually a bad idea.
[...]
You can use a local registry too. That
On Wednesday, 17 March 2021 at 06:07:01 UTC, user1234 wrote:
You can use local a specific local version too, for example the
git repository
#!/usr/bin/env dub
/+ dub.sdl:
dependency "mir-algorithm"
path="/home/x/repositories/mir/mir-algorithm"
+/
In addition with --nodeps, no
On Wednesday, 17 March 2021 at 04:34:07 UTC, Chris Piker wrote:
On Wednesday, 17 March 2021 at 03:43:22 UTC, Chris Piker wrote:
Note: I'm aware of dub. This isn't a question about dub. I'm
making scripts for local use, not redistributable binaries, so
I would like to "install" mir-algorithm
On Wednesday, 17 March 2021 at 03:43:22 UTC, Chris Piker wrote:
Note: I'm aware of dub. This isn't a question about dub. I'm
making scripts for local use, not redistributable binaries, so
I would like to "install" mir-algorithm and similar libraries
for my rdmd scripts to use.
Sorry to
Hi D
I've writing little test scripts using rdmd to understand what
various functions are really doing (ex: .take(5)). I'm up to the
point where I need to write sample code to understand
mir-algorithm a little better, but of course the library is not
installed on my system. So two related
11 matches
Mail list logo