-
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.
Merge branch 'main' into hawken/updates
- Loading branch information
Showing
19 changed files
with
386 additions
and
26 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,29 @@ | ||
[env] | ||
_.file = '.env' | ||
|
||
[tasks.build] | ||
run = "cargo build" | ||
|
||
[tasks.check] | ||
depends = ["clippy", "format-check", "test"] | ||
|
||
[tasks.clippy] | ||
run = "cargo clippy --workspace --all-features --all-targets" | ||
|
||
[tasks.diff] | ||
run = "git diff --exit-code -- types/bindings/index.d.ts" | ||
|
||
[tasks.format] | ||
run = "cargo fmt --all" | ||
|
||
[tasks.format-check] | ||
run = "cargo fmt --all -- --check" | ||
|
||
[tasks.start] | ||
run = "cargo run --bin ccc-server" | ||
|
||
[tasks.test] | ||
run = "cargo test --workspace --all-features --all-targets --no-fail-fast" | ||
|
||
[tasks.e2e] | ||
run = "cargo run --bin e2e" |
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 @@ | ||
BON_APPETIT_AUTH= |
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 +1,3 @@ | ||
/target | ||
.env | ||
.DS_STORE |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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,24 @@ | ||
# ccc-server-next | ||
next generation of cautious-computing-context | ||
|
||
## Environment | ||
|
||
Config is managed with [mise](https://mise.jdx.dev) | ||
|
||
Install | ||
|
||
```sh | ||
brew install mise | ||
echo 'eval "$(mise activate zsh)"' >> ~/.zshrc | ||
source ~/.zshrc | ||
mise trust | ||
``` | ||
|
||
Build and run | ||
```sh | ||
mise use -g rust | ||
mise run build | ||
mise run start | ||
``` | ||
|
||
**`Bonappetit`**: You'll need to have authorization setup to get bonappetit requests working. Copy `.env.sample` to `.env` and set the token to get this working. |
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
|
||
pub mod bonapp; | ||
pub mod github; | ||
pub mod streams; |
Oops, something went wrong.