Trying to install the dox lib within dox itself so I can run npx lix run dox:
> npx lix dev dox .
> npx lix run dox
no @run directive found for library dox
The resulting dox.hxml is missing the @run comment:
-D dox=1.3.0
-cp .
--macro Sys.println("haxe_libraries/dox.hxml:2: [Warning] Using dev version of library dox")
I replaced it with this which does the trick:
# @run: haxelib run-dir dox .
Sidenote: perhaps there could be a better way to execute the run script of the current project, other than... well, installing the project into itself? lix run . or something maybe? I've tried npx lix run-haxelib ., but that doesn't really seem to do what I'd expect (asks for "Library"?).
Trying to install the dox lib within dox itself so I can run
npx lix run dox
:The resulting
dox.hxml
is missing the@run
comment:I replaced it with this which does the trick:
Sidenote: perhaps there could be a better way to execute the run script of the current project, other than... well, installing the project into itself?
lix run .
or something maybe? I've triednpx lix run-haxelib .
, but that doesn't really seem to do what I'd expect (asks for "Library"?).