From d8042b6749b950613928c51353311d2bfe79d0f6 Mon Sep 17 00:00:00 2001 From: Shugo Kawamura Date: Fri, 19 Mar 2021 09:48:17 +0900 Subject: [PATCH] Circleci project setup (#83) * Add .circleci/config.yml * Escape un-used var * Fix cache behavior * Update config.yml * Update README.md --- .circleci/config.yml | 25 +++++++++++++++++++++++++ README.md | 10 ++++++---- web/src/views/Home.vue | 2 +- 3 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..9739a21 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,25 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 +jobs: + build: + working_directory: ~/repo + docker: + - image: circleci/golang:1.16.2-node + steps: + - checkout + - restore_cache: + keys: + - go-mod-v4-{{ checksum "server/go.sum" }} + - run: + name: Install Dependencies + command: make deps + - save_cache: + key: go-mod-v4-{{ checksum "server/go.sum" }} + paths: + - "/go/pkg/mod" + - run: + name: Build + command: | + make + - store_test_results: + path: /tmp/test-reports diff --git a/README.md b/README.md index 6610857..5db51db 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,4 @@ +[![CircleCI](https://circleci.com/gh/FlowingSPDG/vmix-utility.svg?style=shield)](https://circleci.com/gh/FlowingSPDG/vmix-utility) ## vmix-utility vMix utility tool, this can be used for managing inputs, checking multiviews and etc. Golang, Gin and Vue. @@ -12,10 +13,11 @@ Twitter : [**@fluozh**](http://twitter.com/fluozh) / [**@FlowingSPDG**](http://t ``-addr`` Specifies where to listen request from browser. Default: `:8080` / ブラウザからのリクエストを受け付けるポートを指定します。初期値: `":8080"` ``-vmix`` : vMix API Endpoint URL. Default: `"http://localhost:8088"` / vMixのAPIエンドポイントURLです。初期値: `"http://localhost:8088"` -![Screenshot](https://user-images.githubusercontent.com/30292185/88998385-d859b180-d32c-11ea-8c12-3b303ff48545.png "Screenshot") +![Screenshot1](https://user-images.githubusercontent.com/30292185/111715023-4c35d380-8896-11eb-9958-11cfdd04a86f.png "Screenshot") +![Screenshot2](https://user-images.githubusercontent.com/30292185/111715113-7d160880-8896-11eb-9a16-6af241f606b0.png "Screenshot") ## Query Options -#### [Function name](https://www.vmix.com/help24/index.htm?WebScripting.html) +#### [Function name(vMix Reference)](https://www.vmix.com/help24/index.htm?WebScripting.html) Specifies `Function` query in URL parameter. URL中の`Function`クエリパラメタを設定します。 #### Value @@ -25,5 +27,5 @@ URL中の`Value`クエリパラメタを設定します。 現在は指定した Specifies `Input` query by input key. will be ignored if `"None"` specified. URL中の`Input`クエリパラメタをInput keyで指定します。 `"None"`が指定された場合無視されます。 #### Query -Click [Add query] Button to add additional queries. e.g. If you add "Duration", and "500". This will add ``&Duration=500`` query in URL. -[Add query] ボタンをクリックするとURL中のクエリオプションを追加します。 例えば”Duration","500"を指定した場合``&Duration=500`` というクエリが追加されます。 \ No newline at end of file +Click [Add query] Button to add additional queries. e.g. If you add ``"Duration"``, and ``"500"``. This will add ``&Duration=500`` query in URL. +[Add query] ボタンをクリックするとURL中にクエリを追加します。 例えば``”Duration"``,``"500"``を指定した場合``&Duration=500`` というクエリが追加されます。 \ No newline at end of file diff --git a/web/src/views/Home.vue b/web/src/views/Home.vue index bbda21a..2cb1105 100644 --- a/web/src/views/Home.vue +++ b/web/src/views/Home.vue @@ -256,7 +256,7 @@ export default { }, }, watch: { - inputs: function (val, oldval) { + inputs: function (val, _oldval) { if (val[0].Key !== "") { this.inputs.unshift( {