-
Notifications
You must be signed in to change notification settings - Fork 0
Installing on MVX
On MVX, mv_git is a package of the MVX system
itself: the GIT verb plus mvx-git, the shell CLI.
Take the mvx tarball from the
latest release — it holds
the compiled verbs, the libgit2 extension library and the mvx-git CLI, built
against a published MVX toolchain and locked to os/arch/endianness.
MVX consumes mv_git as a submodule at packages/git, and the build is driven by
MVX's mkpkg.sh, which runs build-native.sh after cleaning LIB/.
Standalone against a built MVX source tree:
$ MVX_ROOT=/path/to/mvx-lang ./build-native.shbuild-native.sh needs the MVX runtime headers ($MVX_ROOT/runtime/include),
libmvxrt ($MVX_ROOT/build/lib), and libgit2.
Runtime symbols (mv_*, mvx_*) resolve from the host program at load, exactly
as the storage drivers do; libgit2 links into this one library.
Both surfaces work the same as elsewhere:
$ mvx-git init
$ mvx-git add -A
$ mvx-git commit -m "first":GIT STATUS
Because .git is an ordinary repository, any git client can clone the history —
but a plain checkout gives you files, not a live account. mvx-git-adopt turns
such a checkout into a live account.
Start here
Install
Reference
Related