feat: move git to app bundle
This commit is contained in:
1 parent
35e3d1a0bb
commit
46be13a60a
5 files changed
+69
-35
No files matched your search
+14
-8
@@ -3,21 +3,27 @@
|
||||
Upstream [git/git](https://github.com/git/git), pinned at **v2.39.5**
|
||||
(`upstream/`, submodule). Reports itself as `2.39.5-montauk`.
|
||||
|
||||
Installs as a system program, not an app bundle:
|
||||
Installs as an app bundle with no menu entry -- the manifest sets
|
||||
`menu.visible = false` and `desktop.section = "hidden"`, since git has no
|
||||
window:
|
||||
|
||||
| Path | What |
|
||||
|------|------|
|
||||
| `0:/os/git.elf` | the binary (~3 MB stripped) |
|
||||
| `0:/os/git/share/git-core/templates` | `git init` skeleton |
|
||||
| `0:/os/git/etc/gitconfig` | system config (not created by the install) |
|
||||
| `0:/apps/git/git.elf` | the binary (~3 MB stripped) |
|
||||
| `0:/apps/git/share/git-core/templates` | `git init` skeleton |
|
||||
| `0:/apps/git/etc/gitconfig` | system config (not created by the install) |
|
||||
|
||||
```bash
|
||||
make -C dev-vcs/git # build
|
||||
make -C dev-vcs/git install # -> MontaukOS/programs/bin/os/
|
||||
make -C dev-vcs/git # build the bundle into out/apps/git/
|
||||
make -C dev-vcs/git install # -> MontaukOS/programs/bin/apps/git/
|
||||
```
|
||||
|
||||
`make ports` from the MontaukOS tree does both (git is in the top-level
|
||||
Makefile's `SELF_INSTALL_PORTS`).
|
||||
`make ports` from the MontaukOS tree does both. The standalone `install` (and
|
||||
`uninstall`) also removes a leftover `0:/os/git.elf` from before the move.
|
||||
|
||||
The shell only searches `0:/os` (and the SDK and games directories) for bare
|
||||
command names, so from the terminal git is run by path:
|
||||
`0:/apps/git/git status`.
|
||||
|
||||
## Status
|
||||
|
||||
|
||||
Reference in new issue
Block a user