-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: Debug the configuration on the web ui.
Signed-off-by: 孙林耀 <[email protected]>
- Loading branch information
1 parent
be8cb84
commit 4c031ee
Showing
45 changed files
with
41,775 additions
and
139 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,7 @@ | |
*.out | ||
dist/ | ||
.idea/ | ||
data_exporter | ||
data_exporter | ||
ui/node_modules | ||
ui/build | ||
/ui/yarn-error.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ yaml-files: | |
|
||
ignore: | | ||
pkg/[email protected] | ||
ui/node_modules | ||
rules: | ||
braces: enable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,7 +124,7 @@ endif | |
%: common-% ; | ||
|
||
.PHONY: common-all | ||
common-all: precheck style check_license lint yamllint unused build test | ||
common-all: precheck style check_license lint yamllint unused ui build test | ||
|
||
.PHONY: common-style | ||
common-style: | ||
|
@@ -139,7 +139,7 @@ common-style: | |
.PHONY: common-check_license | ||
common-check_license: | ||
@echo ">> checking license header" | ||
@licRes=$$(for file in $$(find . -type f -iname '*.go' ! -path './vendor/*' ! -path './pkg/[email protected]/*') ; do \ | ||
@licRes=$$(for file in $$(find . -type f -regextype posix-extended -regex ".*\.(go|tsx|css|js|ts)" ! -path './transport/static/*' ! -path './ui/build/*' ! -path './ui/node_modules/*' ! -path './vendor/*' ! -path './pkg/[email protected]/*') ; do \ | ||
awk 'NR<=3' $$file | grep -Eq "(Copyright|generated|GENERATED)" || echo $$file; \ | ||
done); \ | ||
if [ -n "$${licRes}" ]; then \ | ||
|
@@ -314,4 +314,9 @@ $(1)_precheck: | |
echo "Execution of '$$(PRECHECK_COMMAND_$(1))' command failed. Is $(1) installed?"; \ | ||
exit 1; \ | ||
fi | ||
endef | ||
endef | ||
|
||
.PHONY: ui | ||
ui: | ||
cd ui/ && yarn build | ||
rm -rf transport/static && mv ui/build transport/static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.4.3 | ||
0.5.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.