You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,5 @@
1
1
# git-good
2
+
2
3
Just a simple git client using electron and nodegit, focus on lightweight and performance
3
4
4
5
## Build from source
@@ -7,9 +8,8 @@ Follow instructions from <https://github.com/nodegit/nodegit>.
7
8
8
9
### Linux
9
10
10
-
```
11
-
JOBS=max npm_config_openssl_bin_url=skip pnpm run electron-rebuild
12
-
pnpm run dist
11
+
```bash
12
+
make
13
13
```
14
14
15
15
### Arch Linux
@@ -19,7 +19,8 @@ PKGBUILD is available from <https://github.com/weedz/git-good-pkgbuild>.
19
19
### Ubuntu/debian
20
20
21
21
To successfully build/link nodegit on linux you will need the following packages:
22
-
```
22
+
23
+
```plain
23
24
build-essential
24
25
libssh-dev
25
26
libkrb5-dev
@@ -28,6 +29,7 @@ libkrb5-dev
28
29
### Windows
29
30
30
31
Install <https://github.com/Microsoft/vcpkg> (C and C++ package manager for windows), needed for openssl dependency. Then install the `openssl` package with:
(What is `builtin-baseline`, <https://learn.microsoft.com/en-us/vcpkg/users/examples/versioning.getting-started#builtin-baseline>)
56
60
And run `.\vcpkg\vcpkg.exe install` in `C:\dev`.
57
61
3. Make sure to use correct Visual Studio version, <https://github.com/nodejs/node-gyp#on-windows>. Does not build with msvs2022. Need msvs2019: `npm config set msvs_version 2019`
to bundle javascript-files and move assets to the `dist/` directory.
72
73
73
-
Now run
74
74
```bash
75
-
$ pnpm run dist
75
+
pnpm run build
76
76
```
77
-
to compile all the native dependencies etc. You can run this with `CC="ccache gcc" JOBS=max pnpm run dist` (omit `CC="ccache gcc"` if you don't have `ccache` installed) to speed up compile time.
77
+
78
+
to bundle javascript-files and move assets to the `dist/` directory.
0 commit comments