Skip to content

Commit 211088c

Browse files
committed
Backend and frontend moved to src, go module removed
Signed-off-by: anuunchin <88698977+anuunchin@users.noreply.github.com>
1 parent 80805bf commit 211088c

9 files changed

Lines changed: 9 additions & 51 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
node-version: '20'
2222
cache: 'npm'
23-
cache-dependency-path: 'frontend/package-lock.json'
23+
cache-dependency-path: 'src/frontend/package-lock.json'
2424

2525
- name: Install dependencies
26-
working-directory: frontend
26+
working-directory: src/frontend
2727
run: npm ci
2828

2929
- name: Lint
@@ -47,22 +47,3 @@ jobs:
4747

4848
- name: Lint
4949
run: make lint-backend
50-
51-
lint-go:
52-
name: Lint WebRTC in Go
53-
runs-on: ubuntu-latest
54-
steps:
55-
- name: Checkout code
56-
uses: actions/checkout@v4
57-
58-
- name: Setup Go
59-
uses: actions/setup-go@v5
60-
with:
61-
go-version: '1.21'
62-
63-
# Note: Using golangci-lint-action instead of 'make lint-go' for better caching and PR annotations
64-
- name: Lint
65-
uses: golangci/golangci-lint-action@v3
66-
with:
67-
version: latest
68-
working-directory: webrtc-signaling

Makefile

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,12 @@ help:
88
@echo " install frontend dependencies (npm)"
99
@echo " install-backend"
1010
@echo " install backend dependencies (uv)"
11-
@echo " install-go"
12-
@echo " install Go dependencies"
1311
@echo " lint"
1412
@echo " runs all linters (frontend, backend, and Go)"
1513
@echo " lint-frontend"
1614
@echo " lints frontend code with npm run lint"
1715
@echo " lint-backend"
1816
@echo " lints backend Python code with ruff"
19-
@echo " lint-go"
20-
@echo " lints Go WebRTC signaling code with golangci-lint"
2117
@echo " format-backend"
2218
@echo " formats backend Python code with ruff"
2319

@@ -26,28 +22,21 @@ dev: install
2622
install: install-frontend install-backend install-go
2723

2824
install-frontend:
29-
cd frontend && npm install
25+
cd src/frontend && npm install
3026

3127
install-backend:
32-
cd backend && uv venv
33-
cd backend && uv pip install -r requirements.txt
34-
cd backend && uv pip install -r requirements-dev.txt
35-
36-
install-go:
37-
cd webrtc-signaling && go mod download
28+
cd src/backend && uv venv
29+
cd src/backend && uv pip install -r requirements.txt
30+
cd src/backend && uv pip install -r requirements-dev.txt
3831

3932
lint: lint-frontend lint-backend lint-go
4033

4134
lint-frontend:
42-
cd frontend && npm run lint
35+
cd src/frontend && npm run lint
4336

4437
lint-backend:
45-
cd backend && uv run ruff check .
46-
47-
lint-go:
48-
# Note: CI uses golangci-lint-action for better caching and PR annotations
49-
cd webrtc-signaling && golangci-lint run
38+
cd src/backend && uv run ruff check .
5039

5140
format-backend:
52-
cd backend && uv run ruff format .
41+
cd src/backend && uv run ruff format .
5342

File renamed without changes.

webrtc-signaling/go.mod

Lines changed: 0 additions & 3 deletions
This file was deleted.

webrtc-signaling/main.go

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)