Skip to content

Commit 14f80a5

Browse files
committed
Update README.md
1 parent c41cde0 commit 14f80a5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

+20
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Easily download and switch haxe versions (currently tested on
66
Run `install.sh` (`install.bat` on Windows) and update `PATH` / `HAXE_STD_PATH` as
77
requested.
88

9+
Note for windows users: [how to set your PATH environment variable](https://www.computerhope.com/issues/ch000549.htm)
10+
911
## Select a version
1012

1113
Run `hx` to display the haxe version switch (using a Haxe port of [`fzf`](https://github.com/junegunn/fzf)
@@ -62,6 +64,24 @@ or other tools.
6264

6365
Usage: `hx list-modules [compile.hxml]` (will default to `build.hxml`)
6466

67+
## Included `haxelib` version
68+
69+
If you need to run commands from `haxelib` nightlies, but you currently selected
70+
Haxe version is bundling an older haxelib, you can access Haxe Manager's bundled
71+
version of haxelib through `hxlib`:
72+
73+
Usage: `hxlib state load install.hxml` / `hxlib state save install.hxml`
74+
75+
## [lix](https://github.com/lix-pm/) related tooling
76+
77+
Switch to Haxe version specified in `.haxerc` with `hx rc`. Alternatively, one-off
78+
operations can be done with `hx with rc [haxe compiler args]` without altering
79+
currently selected Haxe version.
80+
81+
Install libraries as defined in lix's `haxe_libraries` folder: `hx lix-libs`
82+
83+
Alternatively, generate a `install.hxml` file (to be used with
84+
`haxelib state load install.hxml`) by running `hx lix-to-install install.hxml`
6585

6686
## Included tools
6787

0 commit comments

Comments
 (0)