Skip to content

Commit

Permalink
Circleci project setup (#83)
Browse files Browse the repository at this point in the history
* Add .circleci/config.yml

* Escape un-used var

* Fix cache behavior

* Update config.yml

* Update README.md
  • Loading branch information
Shugo Kawamura authored Mar 19, 2021
1 parent 55d7fb4 commit d8042b6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 5 deletions.
25 changes: 25 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.
Expand All @@ -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
Expand All @@ -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`` というクエリが追加されます。
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`` というクエリが追加されます。
2 changes: 1 addition & 1 deletion web/src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export default {
},
},
watch: {
inputs: function (val, oldval) {
inputs: function (val, _oldval) {
if (val[0].Key !== "") {
this.inputs.unshift(
{
Expand Down

0 comments on commit d8042b6

Please sign in to comment.