diff options
| author | Shulhan <ms@kilabit.info> | 2024-07-08 00:25:11 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2024-07-15 00:36:07 +0700 |
| commit | e6c6a89ef014bef56d1078fcc622038d35ee2354 (patch) | |
| tree | 973072f71ba632ff6585362bc03d469e389d7b93 /Makefile | |
| parent | ac0c21615e9dc457995ab5bcb7161cf545887152 (diff) | |
| download | rescached-e6c6a89ef014bef56d1078fcc622038d35ee2354.tar.xz | |
internal/cmd/www: an HTTP server for testing web UI
The web user interface can be run using existing rescached server by
setting the SERVER value in class Rescached (_www/rescached.js).
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -75,9 +75,9 @@ lint: -shadow ./... -golangci-lint run \ --presets bugs,metalinter,performance,unused \ + --disable bodyclose \ --disable exhaustive \ --disable musttag \ - --disable bodyclose \ ./... -reuse --suppress-deprecation lint @@ -222,3 +222,12 @@ build-linux-amd64: build deploy-personal-server: build-linux-amd64 rsync --progress _bin/linux_amd64/rescached personal-server:~/bin/rescached ssh personal-server "sudo rsync ~/bin/rescached /usr/bin/rescached; sudo systemctl restart rescached.service" + + +#---- Development. + +## Run web server to test WUI. + +.PHONY: dev.www +dev.www: + go run ./internal/cmd/www |
