Skip to content

Commit

Permalink
contracts & discord-bot: update folder structure
Browse files Browse the repository at this point in the history
  • Loading branch information
credence0x committed Jan 7, 2025
1 parent 2644784 commit cbad5de
Show file tree
Hide file tree
Showing 236 changed files with 4 additions and 62 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/discord-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
sparse-checkout: discord-bot
sparse-checkout: bot/discord

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand All @@ -32,7 +32,7 @@ jobs:
components: rustfmt

- name: Run rustfmt
run: cd discord-bot && cargo fmt -- --check
run: cd bot/discord && cargo fmt -- --check

clippy:
runs-on: ubuntu-latest
Expand All @@ -41,7 +41,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
with:
sparse-checkout: discord-bot
sparse-checkout: bot/discord

- name: Install Rust
uses: actions-rs/toolchain@v1
Expand All @@ -54,4 +54,4 @@ jobs:
run: sudo apt-get install protobuf-compiler

- name: Run clippy
run: cd discord-bot && cargo clippy -- -D warnings
run: cd bot/discord && cargo clippy -- -D warnings
Empty file added bot/_
Empty file.
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.
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.
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.
Empty file added contracts/game/ext/_
Empty file.
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.
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,6 @@ mod battle_systems {
caller_army = r_caller_army;

// slash army if battle was not concluded before they left
let leaver = starknet::get_caller_address();
let mut army: Army = world.read_model(army_id);
if army_left_early {
let troop_config = TroopConfigImpl::get(world);
Expand Down
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.
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.
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.
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.
14 changes: 0 additions & 14 deletions contracts/package.json

This file was deleted.

11 changes: 0 additions & 11 deletions contracts/scripts/client.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file removed contracts/season_pass/contracts/.DS_Store
Binary file not shown.
Empty file added contracts/season_pass/ext/_
Empty file.
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.
Empty file.
File renamed without changes.
32 changes: 0 additions & 32 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cbad5de

Please sign in to comment.