Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from nbennett320/feature/state
Document model V0 + UI/Engine Syncing with Redux + Project structuring
- Loading branch information
Showing
38 changed files
with
1,150 additions
and
769 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
name: build app | ||
on: [pull_request] | ||
name: Build App | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
strategy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Linting | ||
|
||
on: push | ||
|
||
jobs: | ||
# rust_lint: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v1 | ||
# - name: Install dependencies (ubuntu only) | ||
# run: | | ||
# sudo apt-get update | ||
# sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf libasound2-dev | ||
# - run: rustup component add clippy | ||
# - name: Rust Clippy | ||
# run: cd ./backend/ && cargo clippy --all-targets --all-features -- -D warnings | ||
|
||
typescript_lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/action-setup@v2.0.1 | ||
with: | ||
version: 6.20.3 | ||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
cache: 'pnpm' | ||
- name: Install node modules | ||
run: pnpm install | ||
- name: Lint typescript | ||
run: pnpm lint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,43 @@ | ||
[package] | ||
name = "app" | ||
version = "0.1.0" | ||
description = "A Tauri App" | ||
authors = ["you"] | ||
license = "" | ||
repository = "" | ||
default-run = "app" | ||
description = "dawesome/engine" | ||
edition = "2021" | ||
rust-version = "1.57" | ||
license = "MIT" | ||
name = "app" | ||
repository = "https://github.com/nbennett320/dawesome" | ||
rust-version = "1.59" | ||
version = "0.1.0" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[build-dependencies] | ||
tauri-build = { version = "1.0.0-rc.5", features = [] } | ||
tauri-build = {version = "1.0.0-rc.5", features = []} | ||
|
||
[dependencies] | ||
serde_json = "1.0" | ||
serde = { version = "1.0", features = ["derive"] } | ||
tauri = { version = "1.0.0-rc.5", features = ["api-all"] } | ||
rodio = { version = "*" } | ||
chrono = "0.4" | ||
futures = "0.3.21" | ||
rodio = {version = "*"} | ||
serde = {version = "1.0", features = ["derive"]} | ||
serde_json = "1.0" | ||
tauri = {version = "1.0.0-rc.5", features = ["api-all"]} | ||
|
||
[features] | ||
# by default Tauri runs in production mode | ||
# when `tauri dev` runs it is executed with `cargo run --no-default-features` if `devPath` is an URL | ||
default = [ "custom-protocol" ] | ||
default = ["custom-protocol"] | ||
# this feature is used used for production builds where `devPath` points to the filesystem | ||
# DO NOT remove this | ||
custom-protocol = [ "tauri/custom-protocol" ] | ||
custom-protocol = ["tauri/custom-protocol"] | ||
|
||
[profile.release] | ||
codegen-units = 1 | ||
debug = 0 | ||
incremental = false | ||
lto = true | ||
opt-level = 3 | ||
overflow-checks = false | ||
panic = "abort" | ||
|
||
# unsupported optimiaztion for rust versions < 1.59 | ||
strip = "debuginfo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
fn main() { | ||
tauri_build::build() | ||
tauri_build::build() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
fn_args_layout = "Vertical" | ||
max_width = 80 | ||
tab_spaces = 2 | ||
use_field_init_shorthand = true | ||
use_try_shorthand = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.