diff --git a/.github/workflows/rust_checks.yml b/.github/workflows/rust_checks.yml index 4e3dcea..16718cb 100644 --- a/.github/workflows/rust_checks.yml +++ b/.github/workflows/rust_checks.yml @@ -7,19 +7,6 @@ on: pull_request: jobs: - build: - name: Build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - name: Build Project - run: cargo build --release - check_fmt: name: Check Formatting runs-on: ubuntu-latest @@ -33,6 +20,7 @@ jobs: override: true - name: Check Formatting run: cargo fmt --check + working-directory: tools/compiler lint: name: Lint with Clippy @@ -47,6 +35,7 @@ jobs: override: true - name: Run Clippy on tests run: cargo clippy --tests -- -D warnings + working-directory: tools/compiler test: name: Run Tests @@ -60,3 +49,4 @@ jobs: override: true - name: Run Tests run: cargo test + working-directory: tools/compiler diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..56daad6 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "rust-analyzer.linkedProjects": [ + "tools/compiler/Cargo.toml" + ] +} \ No newline at end of file diff --git a/Cargo.lock b/tools/compiler/Cargo.lock similarity index 100% rename from Cargo.lock rename to tools/compiler/Cargo.lock diff --git a/Cargo.toml b/tools/compiler/Cargo.toml similarity index 100% rename from Cargo.toml rename to tools/compiler/Cargo.toml diff --git a/src/error.rs b/tools/compiler/src/error.rs similarity index 100% rename from src/error.rs rename to tools/compiler/src/error.rs diff --git a/src/github/assetlist_schema.rs b/tools/compiler/src/github/assetlist_schema.rs similarity index 100% rename from src/github/assetlist_schema.rs rename to tools/compiler/src/github/assetlist_schema.rs diff --git a/src/github/mod.rs b/tools/compiler/src/github/mod.rs similarity index 100% rename from src/github/mod.rs rename to tools/compiler/src/github/mod.rs diff --git a/src/github/types.rs b/tools/compiler/src/github/types.rs similarity index 100% rename from src/github/types.rs rename to tools/compiler/src/github/types.rs diff --git a/src/lib.rs b/tools/compiler/src/lib.rs similarity index 100% rename from src/lib.rs rename to tools/compiler/src/lib.rs diff --git a/src/main.rs b/tools/compiler/src/main.rs similarity index 100% rename from src/main.rs rename to tools/compiler/src/main.rs diff --git a/src/metadata.rs b/tools/compiler/src/metadata.rs similarity index 100% rename from src/metadata.rs rename to tools/compiler/src/metadata.rs diff --git a/src/parser.rs b/tools/compiler/src/parser.rs similarity index 100% rename from src/parser.rs rename to tools/compiler/src/parser.rs diff --git a/src/processor.rs b/tools/compiler/src/processor.rs similarity index 100% rename from src/processor.rs rename to tools/compiler/src/processor.rs diff --git a/src/querier.rs b/tools/compiler/src/querier.rs similarity index 100% rename from src/querier.rs rename to tools/compiler/src/querier.rs