From c3991d9863339967eb249ea4e78333cb83b69a62 Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 16 Jan 2023 10:16:19 +0800 Subject: [PATCH] use xc --- .github/workflows/main.yml | 4 ++-- .github/workflows/release.yml | 2 +- README.md | 17 +++++++++++------ 3 files changed, 14 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8cab9df..16e43ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config - sh <(curl https://tea.xyz) build + sh <(curl https://tea.xyz) xc build build_tauri: needs: changes @@ -87,7 +87,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config - sh <(curl https://tea.xyz) build + sh <(curl https://tea.xyz) xc build - name: Get current unix ts - seconds id: date diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ac0a681..1880a32 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf pkg-config - sh <(curl https://tea.xyz) build + sh <(curl https://tea.xyz) xc build - name: Get current unix ts - seconds diff --git a/README.md b/README.md index 58f57aa..0f03c31 100644 --- a/README.md +++ b/README.md @@ -14,11 +14,21 @@ For better documentation checkout this [notion](https://www.notion.so/teaxyz/tea | pnpm.io | >=7.18.2 | | rust-lang.org | >=1.62 | -# Getting Started + +## Tasks + +### setup ```sh pnpm install ``` +### build +```sh +pnpm install +pnpm build:gui +``` + +## Development To develop the GUI within Tauri Webview ``` $ pnpm dev:gui @@ -28,11 +38,6 @@ To develop the GUI within your local browser at localhost:8080 ``` $ pnpm web:gui ``` -# Build -```sh -pnpm install -pnpm build:gui -``` # Creating a release Tag any commit in the main branch, then push directly to the main branch.