forked from Brickworks/yahs
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* rename * doc * doc * doc * rename again * cargo: fix workspace toml
- Loading branch information
1 parent
bdd40ad
commit 1b91deb
Showing
39 changed files
with
150 additions
and
148 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# These are supported funding model platforms | ||
|
||
# github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] | ||
# patreon: # Replace with a single Patreon username | ||
# open_collective: # Replace with a single Open Collective username | ||
ko_fi: philiplinden | ||
# tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel | ||
# community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry | ||
# liberapay: # Replace with a single Liberapay username | ||
# issuehunt: # Replace with a single IssueHunt username | ||
# lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry | ||
# polar: # Replace with a single Polar username | ||
# buy_me_a_coffee: # Replace with a single Buy Me a Coffee username | ||
# custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] |
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,34 @@ | ||
name: Docs | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
RUST_LOG: info | ||
|
||
jobs: | ||
book: | ||
runs-on: ubuntu-20.04 | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Setup mdBook | ||
uses: peaceiris/actions-mdbook@v2 | ||
with: | ||
mdbook-version: '0.4.10' | ||
# mdbook-version: 'latest' | ||
|
||
- run: mdbook build | ||
|
||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: ${{ github.ref == 'refs/heads/main' }} | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./docs/book |
This file was deleted.
Oops, something went wrong.
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,55 +1,20 @@ | ||
[package] | ||
[workspace] | ||
resolver = "2" # Important for Bevy | ||
members = [ | ||
"crates/yahs", | ||
"crates/yahs-cli", | ||
"crates/yahs-ui" | ||
] | ||
|
||
[workspace.package] | ||
name = "yahs" | ||
description = "Yet Another HAB Simulator" | ||
version = "0.4.0" | ||
authors = ["Philip Linden <[email protected]>"] | ||
readme = "README.md" | ||
license = "MIT or Apache-2.0" | ||
edition = "2021" | ||
|
||
default-run = "yahs" | ||
|
||
# When importing this crate as a dependency, use the simulator library as "yahs" | ||
[lib] | ||
name = "yahs" | ||
path = "src/simulator/src/lib.rs" | ||
|
||
# When running this project as a CLI, use the CLI binary as "yahs" | ||
[[bin]] | ||
name = "yahs" | ||
path = "src/cli/src/main.rs" | ||
|
||
# These are the dependencies when building the CLI from the project root | ||
[dependencies] | ||
# Simulator dependencies | ||
yahs-simulator = { path = "src/simulator" } | ||
bevy = { workspace = true } | ||
avian3d = { workspace = true } | ||
bevy-trait-query = { workspace = true } | ||
|
||
# CLI dependencies | ||
yahs-cli = { path = "src/cli" } | ||
bevy_ratatui = "0.7.0" | ||
ratatui = "0.29" | ||
color-eyre = "0.6.3" | ||
crossterm = "0.28.1" | ||
|
||
[features] | ||
default = ["dev"] | ||
dev = ["yahs-cli/dev", "yahs-simulator/dev"] | ||
|
||
[workspace.package] | ||
authors = ["Philip Linden <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT or Apache-2.0" | ||
|
||
[workspace] | ||
resolver = "2" # Important for Bevy | ||
members = [ | ||
"src/simulator", | ||
"src/cli", | ||
"src/ui" | ||
] | ||
license-file = "LICENSE-APACHE" | ||
|
||
[workspace.dependencies] | ||
# Shared dependencies with fixed versions | ||
|
@@ -59,21 +24,6 @@ bevy = { version = "0.15.0", default-features = false, features = [ | |
avian3d = { git = "https://github.com/Jondolf/avian.git", branch = "main" } | ||
bevy-trait-query = "0.7.0" | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Some Bevy optimizations | ||
# ----------------------------------------------------------------------------- | ||
|
||
# Idiomatic Bevy code often triggers these lints, and the CI workflow treats | ||
# them as errors. In some cases they may still signal poor code quality however, | ||
# so consider commenting out these lines. | ||
[lints.clippy] | ||
# Bevy supplies arguments to systems via dependency injection, so it's | ||
# natural for systems to request more than 7 arguments -- which triggers | ||
# this lint. | ||
too_many_arguments = "allow" | ||
# Queries that access many components may trigger this lint. | ||
type_complexity = "allow" | ||
|
||
# Compile with Performance Optimizations: | ||
# https://bevyengine.org/learn/quick-start/getting-started/setup/#compile-with-performance-optimizations | ||
|
||
|
@@ -92,7 +42,8 @@ debug = false | |
[profile.release] | ||
# Compile the entire crate as one unit. Slows compile times, marginal | ||
# improvements. | ||
codegen-units = 1 | ||
# codegen-units = 1 | ||
|
||
# Optimize with size in mind (also try "z", sometimes it is better). | ||
# Slightly slows compile times, great improvements to file size and runtime | ||
# performance. | ||
|
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
# yahs-ui |
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
File renamed without changes.
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# yahs |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,11 +1,17 @@ | ||
# Summary | ||
|
||
[Introduction](index.md) | ||
|
||
--- | ||
|
||
- [yahs-sim](crates/yahs-sim/README.md) | ||
- [yahs-ui](crates/yahs-ui/README.md) | ||
- [yahs-cli](crates/yahs-cli/README.md) | ||
# Crates | ||
|
||
- [yahs](../crates/yahs/README.md) | ||
- [yahs-ui](../crates/yahs-ui/README.md) | ||
- [yahs-cli](../crates/yahs-cli/README.md) | ||
|
||
--- | ||
|
||
# Development | ||
|
||
[Devlog](devlog.md) |
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.