Skip to content

Commit

Permalink
chore: Add tox_options.h to the public API.
Browse files Browse the repository at this point in the history
  • Loading branch information
iphydf committed Jan 24, 2025
1 parent e42ad50 commit 30db545
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 13 deletions.
19 changes: 19 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
version: 2

workflows:
version: 2
circleci:
jobs:
- bazel-opt

jobs:
bazel-opt:
working_directory: /tmp/cirrus-ci-build
docker:
- image: toxchat/toktok-stack:latest-release

steps:
- checkout
- run: /src/workspace/tools/inject-repo hs-tokstyle
- run: cd /src/workspace && bazel test -k //hs-tokstyle/...
24 changes: 12 additions & 12 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
---
bazel-opt_task:
container:
image: toxchat/toktok-stack:latest-release
cpu: 2
memory: 6G
configure_script:
- /src/workspace/tools/inject-repo hs-tokstyle
test_all_script:
- cd /src/workspace && bazel test -k
--config=ci
//hs-tokstyle/...
# ---
# bazel-opt_task:
# container:
# image: toxchat/toktok-stack:latest-release
# cpu: 2
# memory: 6G
# configure_script:
# - /src/workspace/tools/inject-repo hs-tokstyle
# test_all_script:
# - cd /src/workspace && bazel test -k
# --config=ci
# //hs-tokstyle/...
5 changes: 4 additions & 1 deletion BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ load("@rules_haskell//haskell:defs.bzl", "haskell_library")
load("//third_party/haskell/hspec-discover:build_defs.bzl", "hspec_test")
load("//tools/project:build_defs.bzl", "project")

project(license = "gpl3-https")
project(
custom_cirrus = True,
license = "gpl3-https",
)

haskell_library(
name = "c-linters",
Expand Down
1 change: 1 addition & 0 deletions src/Tokstyle/Linter/MissingNonNull.hs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ exemptions =
, "tox.h"
, "tox_dispatch.h"
, "tox_events.h"
, "tox_options.h"
, "tox_private.h"
, "toxav.h"
, "toxencryptsave.h"
Expand Down

0 comments on commit 30db545

Please sign in to comment.