Skip to content

Commit d39a90d

Browse files
authored
GUI (#20)
* Rust version (unfinished) * tauri * Backend ready * Complete * style * release optimization * github action * remove * Update * publish on workflow dispatch
1 parent 6444b64 commit d39a90d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+7092
-301
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 127 deletions
This file was deleted.

.github/workflows/publish.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: publish
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
build:
8+
permissions:
9+
contents: write
10+
strategy:
11+
fails-fast: false
12+
matrix:
13+
include:
14+
- platform: ubuntu-latest
15+
os_name: linux
16+
args: ''
17+
- platform: windows-latest
18+
os_name: windows
19+
args: ''
20+
- platform: macOS-latest
21+
os_name: macos
22+
args: '--target aarch64-apple-darwin'
23+
24+
name: Building for ${{ matrix.os_name }}
25+
runs-on: ${{ matrix.platform }}
26+
27+
steps:
28+
- uses: actions/checkout@v4
29+
30+
- name: install dependencies (ubuntu only)
31+
if: matrix.platform == 'ubuntu-latest'
32+
run: |
33+
sudo apt-get update
34+
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
35+
36+
- name: install Rust stable
37+
uses: dtolnay/rust-toolchain@stable
38+
39+
- name: Rust cache
40+
uses: swatinem/rust-cache@v2
41+
with:
42+
workspaces: './src-tauri -> target'
43+
44+
- uses: oven-sh/setup-bun@v2
45+
with:
46+
bun-version: latest
47+
48+
- name: install frontend dependencies
49+
run: bun install
50+
51+
- uses: tauri-apps/tauri-action@v0
52+
env:
53+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
54+
with:
55+
tagName: v__VERSION__ # the action automatically replaces \_\_VERSION\_\_ with the app version.
56+
releaseName: 'Kodular Starter v__VERSION__'
57+
releaseBody: 'See the assets to download this version and install.'
58+
releaseDraft: true
59+
prerelease: false
60+
args: ${{ matrix.args }}

.gitignore

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/target
2+
# Logs
3+
logs
4+
*.log
5+
npm-debug.log*
6+
yarn-debug.log*
7+
yarn-error.log*
8+
pnpm-debug.log*
9+
lerna-debug.log*
10+
11+
node_modules
12+
dist
13+
dist-ssr
14+
*.local
15+
16+
# Editor directories and files
17+
../.vscode/*
18+
!../.vscode/extensions.json
19+
.idea
20+
.DS_Store
21+
*.suo
22+
*.ntvs*
23+
*.njsproj
24+
*.sln
25+
*.sw?

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/Starter.iml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["tauri-apps.tauri-vscode", "rust-lang.rust-analyzer"]
3+
}

KodularStarter.v

Lines changed: 0 additions & 119 deletions
This file was deleted.

0 commit comments

Comments
 (0)