Skip to content

Commit

Permalink
feat: use cargo git dependency instead of submodule
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jul 8, 2022
1 parent 63c351d commit 3c14cbe
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 19 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,18 @@ name: Rust

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Build
run: cargo build --verbose
- uses: actions/checkout@v3
- name: Build
run: cargo build --verbose
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

5 changes: 3 additions & 2 deletions Cargo.lock

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

6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,4 @@ log = "0.4"
regex = "1.0"
serde_regex = "1.1"
chrono = "0.4"

[dependencies.serenity]
default-features = false
features = ["client", "gateway", "rustls_backend", "model"]
path = "submodules/serenity" # submodule due to serenity just recently including global slash commands
serenity = { git = "https://github.com/serenity-rs/serenity.git", default_features = false, features = ["client", "gateway", "rustls_backend", "model"] }
1 change: 0 additions & 1 deletion submodules/serenity
Submodule serenity deleted from c5cc87

0 comments on commit 3c14cbe

Please sign in to comment.