Skip to content
This repository has been archived by the owner on Apr 19, 2024. It is now read-only.

Commit

Permalink
rpc: rework proto and service definition
Browse files Browse the repository at this point in the history
  • Loading branch information
zllovesuki committed Apr 3, 2021
1 parent bdbe15a commit 874c017
Show file tree
Hide file tree
Showing 26 changed files with 484 additions and 1,029 deletions.
5 changes: 0 additions & 5 deletions .github/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,6 @@ Write-Host "Building debug release"
$BUILD_DEBUG = "go build -gcflags=`"-N -l`" -ldflags=`"-X 'main.Version=$LatestTag-debug' -X 'main.IsDebug=yes'`" -o build/G14Manager.debug.exe .\cmd\manager"
Invoke-Expression $BUILD_DEBUG

Write-Host "Building configurator"

$BUILD_CLIENT = "go build -ldflags=`"-X main.Version=$LatestTag'`" -o build/G14Manager.config.exe .\cmd\client"
Invoke-Expression $BUILD_CLIENT

Write-Host "Building DLLs"

$BUILD_MATRIX_RELEASE_DLL = "MSBuild.exe .\cxx\MatrixController.sln /property:Configuration=Release /property:Platform=x64"
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ jobs:
run: go test ./...
- name: Build Main G14Manager Binary
run: go build -o build\G14Manager.exe .\cmd\manager
- name: Build Main G14Manager Configurator
run: go build -o build\G14Manager.config.exe .\cmd\client
- name: Build MatrixControl DLL (Release)
run: MSBuild.exe .\cxx\MatrixController.sln /property:Configuration=Release /property:Platform=x64
- name: Build MatrixControl DLL (Debug)
Expand Down
40 changes: 22 additions & 18 deletions client/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
module.exports = {
root: true,
env: {
node: true,
},
extends: [
"plugin:vue/essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint",
],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
},
root: true,
env: {
node: true,
},
extends: [
"plugin:vue/essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint",
],
parserOptions: {
ecmaVersion: 2020,
},
ignorePatterns: [
"src/rpc/protocol/*.js",
"src/rpc/protocol/*.d.ts"
],
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
},
};
Loading

0 comments on commit 874c017

Please sign in to comment.