From 16b4f9403b100a61f31d70a96af15d113304160b Mon Sep 17 00:00:00 2001 From: Brandon Parks Date: Thu, 4 Apr 2024 10:25:55 -0400 Subject: [PATCH] Add default address and port - 1.0.1 (#6) * Remove workflow_dispatch from Actions * Update project file with readme and snupkg format * Add default address ("localhost") and port (9001) --- .github/workflows/deploy.yml | 1 - .github/workflows/test_build.yml | 3 +-- .../OpenEphys.Sockets.Bonsai.csproj | 9 +++++++-- .../OpenEphys.Sockets.Bonsai/TcpServerConfiguration.cs | 4 ++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 710bdeb..dd49e94 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,6 +1,5 @@ name: deploy on: - workflow_dispatch: push: branches: - 'main' diff --git a/.github/workflows/test_build.yml b/.github/workflows/test_build.yml index 56b5a54..c9352aa 100644 --- a/.github/workflows/test_build.yml +++ b/.github/workflows/test_build.yml @@ -1,6 +1,5 @@ name: test_build on: - workflow_dispatch: pull_request: branches: - 'main' @@ -13,7 +12,7 @@ jobs: build: uses: ./.github/workflows/build_package.yml - #needs: check_version + needs: check_version with: solutionFile: ./OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai.sln nugetDirecory: ./OpenEphys.Sockets.Bonsai/bin/Release diff --git a/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai.csproj b/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai.csproj index cb48460..e8b8f74 100644 --- a/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai.csproj +++ b/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai.csproj @@ -11,17 +11,22 @@ true oe-logo.png true + snupkg ..\bin\$(Configuration) true Bonsai Rx Open Ephys Sockets Interprocess OpenCV - https://github.com/open-ephys/OpenEphys.Sockets.Bonsai + https://github.com/open-ephys/OpenEphys.Sockets.Bonsai.git git true net472 - 1.0.0 + 1.0.1 strict + + + + True diff --git a/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai/TcpServerConfiguration.cs b/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai/TcpServerConfiguration.cs index 6223a32..541483e 100644 --- a/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai/TcpServerConfiguration.cs +++ b/OpenEphys.Sockets.Bonsai/OpenEphys.Sockets.Bonsai/TcpServerConfiguration.cs @@ -8,8 +8,8 @@ namespace OpenEphys.Sockets.Bonsai { public class TcpServerConfiguration : TransportConfiguration { - public string Address; - public int Port; + public string Address = "localhost"; + public int Port = 9001; internal override ITransport CreateTransport() {