Skip to content

Commit

Permalink
#1: Initial basic GUI for desktop (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
j4w3ny authored Jun 4, 2022
1 parent f457786 commit 8724c32
Show file tree
Hide file tree
Showing 47 changed files with 27,328 additions and 0 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: Build

env:
CARGO_TERM_COLOR: always

on: [push]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3

- name: Install Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: '16.x'

- name: install dependencies (ubuntu only)
# if: matrix.platform == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf libdbus-1-dev pkg-config
- name: Fetch Node.js Dependencies
run: yarn

- name: Build Release Version
run: yarn tauri build

- name: Upload Appimage build
uses: actions/[email protected]
with:
name: ark-shelf-desktop.AppImage
path: ./target/release/bundle/appimage/ark-shelf-desktop_*_amd64.AppImage

- name: Upload .deb build
uses: actions/[email protected]
with:
name: ark-shelf-desktop.deb
path: ./target/release/bundle/deb/ark-shelf-desktop_*_amd64.deb

- name: Upload binary build
uses: actions/[email protected]
with:
name: ark-shelf-desktop
path: ./target/release/ark-shelf-desktop
35 changes: 35 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
target
# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
Loading

0 comments on commit 8724c32

Please sign in to comment.