mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-25 07:45:41 +03:00
The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
.github/workflows | ||
.vscode | ||
scripts | ||
src | ||
src-tauri | ||
static | ||
.eslintrc.json | ||
.gitignore | ||
.npmrc | ||
.prettierrc.json | ||
package.json | ||
pnpm-lock.yaml | ||
postcss.config.cjs | ||
README.md | ||
svelte.config.js | ||
tailwind.config.cjs | ||
tsconfig.json | ||
vite.config.js |
development
prerequisites
see here for the list of software required to build / develope the app.
setup
then, make sure to install app dependencies:
$ pnpm install
run
now you should be able to run the app in development mode:
$ pnpm tauri dev
building
to build the app in production mode, run:
$ pnpm tauri build
releasing
Releasing is done via GitHub Action.
Go to the link and select Run workflow
from the desired branch.
It will upload artifacts to a public S3 bucket.
versioning
To update the release app version, update version in the Cargo.toml.
runners
Note that to build an arm64 macos app, you need to make sure that there is at least one self-hosted runner
with macos-aarch64
label is online here.
If you are a lucky owner of an arm64 macos machine, feel free to run it yourself.
Make sure to label it with macos-aarch64
.