The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
Go to file
2023-07-19 23:08:12 +02:00
.github fix actions condition 2023-07-18 12:59:45 +02:00
.vscode recommend vitest vscode plugin 2023-07-16 22:05:54 +02:00
butler create git branch name module 2023-07-19 10:45:52 +02:00
scripts chmod +x scripts/release.sh 2023-07-18 13:38:01 +02:00
src Update dark mode colors for file card 2023-07-19 23:08:12 +02:00
src-tauri different icon for dev mode 2023-07-19 15:12:16 +02:00
.env.development nightly builds 2023-07-14 13:06:22 +02:00
.env.nightly nightly builds 2023-07-14 13:06:22 +02:00
.env.production nightly builds 2023-07-14 13:06:22 +02:00
.eslintignore Fix eslint errors related to .cjs files 2023-07-13 13:57:22 +02:00
.eslintrc.cjs make no-cycle a warning until we solve 4 cycles 2023-06-27 14:46:39 +02:00
.gitignore replace storybook with histoire 2023-05-09 09:57:59 +02:00
.npmrc simple tauri example 2023-01-31 15:55:57 +01:00
.prettierignore replace storybook with histoire 2023-05-09 09:57:59 +02:00
.prettierrc include prettier-plugin-tailwindcss into config 2023-03-07 11:53:11 +01:00
histoire.config.ts replace storybook with histoire 2023-05-09 09:57:59 +02:00
histoire.setup.ts Update postcss path in histoire setup 2023-07-13 13:57:22 +02:00
package.json Use bundled tailwind nesting plugin 2023-07-14 09:48:33 +02:00
pnpm-lock.yaml Use bundled tailwind nesting plugin 2023-07-14 09:48:33 +02:00
postcss.config.cjs Use bundled tailwind nesting plugin 2023-07-14 09:48:33 +02:00
README.md replace storybook with histoire 2023-05-09 09:57:59 +02:00
svelte.config.js fallback to index.html 2023-04-25 12:40:04 +02:00
tailwind.config.cjs Flatten the UI more 2023-07-19 22:48:14 +02:00
tsconfig.json a little bit of a typescript testing setup 2023-06-22 14:42:44 +02:00
vite.config.ts disable sentry load() instrumentation 2023-07-13 10:46:10 +02:00

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

Running Stories

Stories is our easy way to view our app components. Running the following command will launch in your default browser.

$ pnpm story:dev

Linting

Pull requests will not pass unless files are linted for proper Tailwind formatting.

$ pnpm format

building

To build the app in production mode, run:

$ pnpm tauri build

Icon generation

$ pnpm tauri icon path/to/icon.png

Releasing

Building is done via GitHub Action. Go to the link and select Run workflow from the desired branch.

Versioning

When running the release action, you will have to choose one of major, minor, or patch release type. Action will generate a new version based on your input and current version found at https://app.gitbutler.com/releases.

publishing

To publish a version that you've just build, use Release Manager.

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.