The GitButler version control client, backed by Git, powered by Tauri/Rust/Svelte
Go to file
Ian Donahue f17255d4e0 Refactor CSS styles and clean up code
The diff is mainly focused on updating the styling of the input fields, changing some class names, and removing extra spacing or unnecessary lines.

Changes include:
- Reformatting textarea and input element styling by breaking selectors into multiple lines for better readability.
- Updating input focus styles in `CommandPalette/Commit.svelte` to remove duplicate classes.
- Adjusting padding and margins for elements in `FileActivity.svelte` and `+page.svelte` for improved appearance and alignment.
- Tweaking and simplifying class names in `+page.svelte` for consistency and readability.
2023-04-04 19:52:53 +02:00
.github/workflows sotrybook script things 2023-03-31 12:13:03 +02:00
.storybook use svelte templates for storybook 2023-03-31 14:35:14 +02:00
.vscode recommend eslint and prettier plugin for vscode 2023-02-27 13:26:17 +01:00
scripts disable debug in release script 2023-02-20 17:01:33 +01:00
src Refactor CSS styles and clean up code 2023-04-04 19:52:53 +02:00
src-tauri make sure invalid deltas do not break the app 2023-04-04 11:23:32 +02:00
.env.development Posthog integration GB-36 (#18) 2023-02-22 14:38:45 +01:00
.env.production Posthog integration GB-36 (#18) 2023-02-22 14:38:45 +01:00
.eslintignore use svelte templates for storybook 2023-03-31 14:35:14 +02:00
.eslintrc.cjs Revert "add Storybook dev dependency" 2023-03-27 17:25:19 +02:00
.gitignore sotrybook script things 2023-03-31 12:13:03 +02:00
.npmrc simple tauri example 2023-01-31 15:55:57 +01:00
.prettierignore sort out lint/format setup 2023-02-24 10:46:41 +01:00
.prettierrc include prettier-plugin-tailwindcss into config 2023-03-07 11:53:11 +01:00
package.json use svelte templates for storybook 2023-03-31 14:35:14 +02:00
pnpm-lock.yaml use svelte templates for storybook 2023-03-31 14:35:14 +02:00
postcss.config.cjs sort out lint/format setup 2023-02-24 10:46:41 +01:00
README.md dynamic release versioning 2023-02-17 16:09:24 +01:00
svelte.config.js sort out lint/format setup 2023-02-24 10:46:41 +01:00
tailwind.config.cjs align slider with figma 2023-04-03 17:05:25 +02:00
tsconfig.json fix remaining eslint issues 2023-02-24 11:00:17 +01:00
vite.config.js inline source maps 2023-04-03 14:15:32 +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

building

to build the app in production mode, run:

$ pnpm tauri build

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.