Rename http-server -> radicle-httpd

So that the directory name matches the crate name.
This commit is contained in:
Rūdolfs Ošiņš
2024-06-20 11:44:44 +02:00
parent 05632a15d7
commit 2f1a5dcdfe
44 changed files with 13 additions and 13 deletions
@@ -1,4 +1,4 @@
name: check-http-server
name: check-radicle-httpd
on: push
jobs:
@@ -7,13 +7,13 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./http-server
working-directory: ./radicle-httpd
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: http-server -> target
workspaces: radicle-httpd -> target
- name: Build
run: cargo build --all-features
- name: Run tests
@@ -23,13 +23,13 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./http-server
working-directory: ./radicle-httpd
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: http-server -> target
workspaces: radicle-httpd -> target
- name: Docs
run: cargo doc --all --all-features
lint:
@@ -37,13 +37,13 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./http-server
working-directory: ./radicle-httpd
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
with:
workspaces: http-server -> target
workspaces: radicle-httpd -> target
- name: Run clippy
run: cargo clippy --all --tests
- name: Check formatting
+2 -2
View File
@@ -2,8 +2,8 @@
node_modules/
NOTES
config/local*
http-server/target
http-server/build/artifacts
radicle-httpd/target
radicle-httpd/build/artifacts
# KaTeX files
*.min.css
+1 -1
View File
@@ -137,7 +137,7 @@ export default [
"node_modules/**/*",
"build/**/*",
"public/**/*",
"http-server/**/*",
"radicle-httpd/**/*",
],
},
];
+2 -2
View File
@@ -8,12 +8,12 @@
"build": "vite build && scripts/copy-katex-assets && scripts/install-twemoji-assets",
"postinstall": "scripts/copy-katex-assets && scripts/install-twemoji-assets",
"check": "scripts/check",
"check:http-server": "cd http-server && cargo clippy --all --tests && cargo fmt --all --check",
"check:radicle-httpd": "cd radicle-httpd && cargo clippy --all --tests && cargo fmt --all --check",
"format": "npx prettier '**/*.@(ts|js|svelte|json|css|html|yml)' --write",
"test:unit": "TZ='UTC' vitest run",
"test:e2e": "NODE_CONFIG_ENV='test' TZ='UTC' playwright test",
"test:http-client:unit": "NODE_CONFIG_ENV='test' TZ='UTC' vitest run --config http-client/vite.config.ts --reporter verbose",
"test:http-server": "cd http-server && cargo test --all-features"
"test:radicle-httpd": "cd radicle-httpd && cargo test --all-features"
},
"type": "module",
"engines": {
+1 -1
View File
@@ -1,7 +1,7 @@
{
"extends": "@tsconfig/svelte/tsconfig.json",
"include": ["src", "tests", "http-client", "./*.js", "./*.ts"],
"exclude": ["node_modules/*", "http-server/*"],
"exclude": ["node_modules/*", "radicle-httpd/*"],
"compilerOptions": {
"noEmit": true,
"target": "es2020",