On Friday, 1 November 2024 at 01:52:54 UTC, monkyyy wrote:
> On Friday, 1 November 2024 at 01:03:44 UTC, Lance Bachmeier wrote:
> This is the drepl project: https://github.com/dlang-community/drepl
I dont think its been compiling for a while, and I didnt care much when it was
I had some issues with the linenoise dependency preBuildCommands
script, around a year ago.
The fix was to use the $LINENOISE_PACKAGE_DIR
variable instead of $PACKAGE_DIR
to build drepl.
from:
"cd $PACKAGE_DIR; [ -f C/linenoise.o ] || cc -c -fPIC -o C/linenoise.o C/linenoise.c" platform="posix"
to:
"cd $LINENOISE_PACKAGE_DIR; [ -f C/linenoise.o ] || cc -c -fPIC -o C/linenoise.o C/linenoise.c" platform="posix"
I changed it directly in the ~/.dub/packages/linenoise/1.1.0+1.0.0/linenoise/dub.json
.
The parsing being done by an older libdparse library, short function forms like int addOne(int i) => i + 1;
or named function argument are not available.