tailscale/cmd
Mihai Parparita b763a12331 cmd/tsconnect: allow building static resources in a different directory
When using tsconnect as a module in another repo, we cannot write to
the ./dist directory (modules directories are read-only by default -
there is a -modcacherw flag for `go get` but we can't count on it).

We add a -distdir flag that is honored by both the build and serve
commands for where to place output in.

Somewhat tedious because esbuild outputs paths relative to the working
directory, so we need to do some extra munging to make them relative
to the output directory.

Signed-off-by: Mihai Parparita <mihai@tailscale.com>
2022-07-20 10:14:43 -07:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/viewer: add codegen tool for Views 2022-05-06 10:58:10 -07:00
derper derp: plumb '/derp' request context through (#5083) 2022-07-18 15:43:03 -07:00
derpprobe all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
gitops-pusher cmd/gitops-pusher: format HuJSON, enabling exact ACL matches (#5061) 2022-07-15 11:09:44 -04:00
hello all: use strings.Cut even more 2022-03-19 13:02:38 -07:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
nginx-auth cmd/nginx-auth: maintainer scripts and tailnet checking (#4460) 2022-04-20 13:06:05 -04:00
printdep Docker: add ALPINE.txt to manage alpine versions 2022-06-29 11:47:09 -07:00
proxy-to-grafana cmd/proxy-to-grafana: use localClient.GetCertificate (#5024) 2022-07-08 14:33:14 -04:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale net/netcheck: test for OS IPv6 support as well as connectivity. 2022-07-18 18:02:12 -07:00
tailscaled ipn/ipnlocal: logout ephemeral nodes on shutdown 2022-07-19 11:29:31 -07:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsconnect cmd/tsconnect: allow building static resources in a different directory 2022-07-20 10:14:43 -07:00
tsshd cmd/tsshd: delete, leaving only forwarding docs 2022-05-16 11:52:44 -07:00
viewer cmd/viewer,types/views: add support for views of maps 2022-05-09 19:49:31 -07:00