HaxeFoundation / HaxeFoundation/haxe

Document Haxelib from git with subfolder

Open
#8,885 0 comments 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

Haxelib allows to get a library from git like:
```
haxelib git hamcrest https://github.com/mikestead/hamcrest-haxe.git master src
```
With arguments: library name, git URL, branch name, subfolder (undocumented).

Likewise you should be able to declare it it using `-lib/-L/--library`:
```
-lib hamcrest:git:https://github.com/mikestead/hamcrest-haxe.git#master#src
```
(found the `#src` argument with some guessing)

It's quite useful when your `haxelib.json` isn't at the root of the repository, which can make things cleaner.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.