Skip to content

Commit

Permalink
feat: add foxglove websocket 1.3.0 (bazelbuild#2891)
Browse files Browse the repository at this point in the history
- as title
- need skip url stability check

---------

Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
  • Loading branch information
wep21 authored Oct 3, 2024
1 parent d469aca commit dec080b
Show file tree
Hide file tree
Showing 6 changed files with 72 additions and 0 deletions.
11 changes: 11 additions & 0 deletions modules/foxglove_websocket/1.3.0/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
module(
name = "foxglove_websocket",
version = "1.3.0",
bazel_compatibility = [">=7.2.1"],
compatibility_level = 1,
)

bazel_dep(name = "boringssl", version = "0.20240913.0")
bazel_dep(name = "nlohmann_json", version = "3.11.3")
bazel_dep(name = "rules_cc", version = "0.0.10")
bazel_dep(name = "websocketpp", version = "0.8.2.bcr.1")
15 changes: 15 additions & 0 deletions modules/foxglove_websocket/1.3.0/overlay/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
load("@rules_cc//cc:defs.bzl", "cc_library")

package(default_visibility = ["//visibility:public"])

cc_library(
name = "foxglove_websocket",
srcs = glob(["cpp/foxglove-websocket/src/*.cpp"]),
hdrs = glob(["cpp/foxglove-websocket/include/foxglove/websocket/*.hpp"]),
includes = ["cpp/foxglove-websocket/include"],
deps = [
"@boringssl//:ssl",
"@nlohmann_json//:json",
"@websocketpp",
],
)
1 change: 1 addition & 0 deletions modules/foxglove_websocket/1.3.0/overlay/MODULE.bazel
18 changes: 18 additions & 0 deletions modules/foxglove_websocket/1.3.0/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
matrix:
platform:
- debian10
- debian11
- macos
- macos_arm64
- ubuntu2004
- ubuntu2204
bazel: [7.x]
tasks:
verify_targets:
name: Verify build targets
platform: ${{ platform }}
build_flags:
- '--cxxopt=-std=c++17'
bazel: ${{ bazel }}
build_targets:
- '@foxglove_websocket//:foxglove_websocket'
10 changes: 10 additions & 0 deletions modules/foxglove_websocket/1.3.0/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"integrity": "sha256-XB1M2mCom/Y17wFQ6M0vTaVp+SvrishVV5Xtf9R/KiE=",
"strip_prefix": "ws-protocol-releases-cpp-v1.3.0",
"url": "https://github.com/foxglove/ws-protocol/archive/refs/tags/releases/cpp/v1.3.0.tar.gz",
"patch_strip": 0,
"overlay": {
"MODULE.bazel": "sha256-+WFR78+V+VhVTcmOGYGe+0OzqGQmddHdMugWXEJZbK0=",
"BUILD.bazel": "sha256-IB4BkWQSCaNz8Nona7iraVafcL92Vj+1cSi/us7TNKk="
}
}
17 changes: 17 additions & 0 deletions modules/foxglove_websocket/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"homepage": "https://github.com/foxglove/ws-protocol",
"maintainers": [
{
"email": "daisuke.nishimatsu1021@gmail.com",
"github": "wep21",
"name": "Daisuke Nishimatsu"
}
],
"repository": [
"github:foxglove/ws-protocol"
],
"versions": [
"1.3.0"
],
"yanked_versions": {}
}

0 comments on commit dec080b

Please sign in to comment.