Skip to content

Commit 6bbfb6c

Browse files
authored
chore: delete cmd/tsconnect directory (#82)
1 parent 8b81b3c commit 6bbfb6c

33 files changed

+1
-3102
lines changed

.github/workflows/test.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -280,44 +280,6 @@ jobs:
280280
GOOS: android
281281
GOARCH: arm64
282282

283-
wasm: # builds tsconnect, which is the only wasm build we support
284-
runs-on: ubuntu-22.04
285-
steps:
286-
- name: checkout
287-
uses: actions/checkout@v3
288-
- uses: actions/setup-go@v5
289-
with:
290-
go-version-file: go.mod
291-
cache: false
292-
- name: Restore Cache
293-
uses: actions/cache@v3
294-
with:
295-
# Note: unlike the other setups, this is only grabbing the mod download
296-
# cache, rather than the whole mod directory, as the download cache
297-
# contains zips that can be unpacked in parallel faster than they can be
298-
# fetched and extracted by tar
299-
path: |
300-
~/.cache/go-build
301-
~/go/pkg/mod/cache
302-
~\AppData\Local\go-build
303-
# The -2- here should be incremented when the scheme of data to be
304-
# cached changes (e.g. path above changes).
305-
key: ${{ github.job }}-${{ runner.os }}-go-2-${{ hashFiles('**/go.sum') }}-${{ github.run_id }}
306-
restore-keys: |
307-
${{ github.job }}-${{ runner.os }}-go-2-${{ hashFiles('**/go.sum') }}
308-
${{ github.job }}-${{ runner.os }}-go-2-
309-
- name: build tsconnect client
310-
run: ./tool/go build ./cmd/tsconnect/wasm ./cmd/tailscale/cli
311-
env:
312-
GOOS: js
313-
GOARCH: wasm
314-
- name: build tsconnect server
315-
# Note, no GOOS/GOARCH in env on this build step, we're running a build
316-
# tool that handles the build itself.
317-
run: |
318-
./tool/go run ./cmd/tsconnect --fast-compression build
319-
./tool/go run ./cmd/tsconnect --fast-compression build-pkg
320-
321283
fuzz:
322284
# This target periodically breaks (see TS_FUZZ_CURRENTLY_BROKEN at the top
323285
# of the file), so it's more complex than usual: the 'build fuzzers' step
@@ -467,7 +429,6 @@ jobs:
467429
- vm
468430
- cross
469431
- ios
470-
- wasm
471432
- fuzz
472433
- depaware
473434
- go_generate
@@ -511,7 +472,6 @@ jobs:
511472
- vm
512473
- cross
513474
- ios
514-
- wasm
515475
- fuzz
516476
- depaware
517477
- go_generate

Makefile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,13 @@ build386: ## Build tailscale CLI for linux/386
3333
buildlinuxarm: ## Build tailscale CLI for linux/arm
3434
GOOS=linux GOARCH=arm ./tool/go install tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled
3535

36-
buildwasm: ## Build tailscale CLI for js/wasm
37-
GOOS=js GOARCH=wasm ./tool/go install ./cmd/tsconnect/wasm ./cmd/tailscale/cli
38-
3936
buildlinuxloong64: ## Build tailscale CLI for linux/loong64
4037
GOOS=linux GOARCH=loong64 ./tool/go install tailscale.com/cmd/tailscale tailscale.com/cmd/tailscaled
4138

4239
buildmultiarchimage: ## Build (and optionally push) multiarch docker image
4340
./build_docker.sh
4441

45-
check: staticcheck vet depaware buildwindows build386 buildlinuxarm buildwasm ## Perform basic checks and compilation tests
42+
check: staticcheck vet depaware buildwindows build386 buildlinuxarm ## Perform basic checks and compilation tests
4643

4744
staticcheck: ## Run staticcheck.io checks
4845
./tool/go run honnef.co/go/tools/cmd/staticcheck -- $$(./tool/go list ./... | grep -v tempfork)

cmd/tsconnect/.gitignore

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

cmd/tsconnect/README.md

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

cmd/tsconnect/README.pkg.md

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

cmd/tsconnect/build-pkg.go

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

cmd/tsconnect/build.go

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

0 commit comments

Comments
 (0)