Skip to content

Commit

Permalink
v0.0.5-beta: Initial implementation of IRv2.
Browse files Browse the repository at this point in the history
done:
- serder working with latest ffi-core
- reader+writer working with latest ffi-core
- bazel build + unit tests passing
- task (local) build + unit tests passing

todo:
- rewrite documentation
- do a pass on golangci-lint config
- fix c++ linting errors
- update linting to taskfile
- update github workflows/CI to taskfile
- port task-utils.yml to yscope-dev-utils
- update ffi-core msgpack api to pass linting
  • Loading branch information
davidlion committed Nov 6, 2024
1 parent c565ab8 commit 2e56cce
Show file tree
Hide file tree
Showing 61 changed files with 1,822 additions and 2,854 deletions.
11 changes: 8 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
# Bazel-generated files
# Bazel generated files
bazel-bin
bazel-ffi-go
bazel-out
bazel-testlogs

# Task generated files
.task/

# Build directory
build/

# C++ build generated files
cpp/.cache/
cpp/build/
**/compile_commands.json

# Submodules
cpp/clp
tools/yscope-dev-utils
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "tools/yscope-dev-utils"]
path = tools/yscope-dev-utils
url = https://github.com/y-scope/yscope-dev-utils.git
53 changes: 53 additions & 0 deletions .yamllint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
extends: "default"

yaml-files:
- ".clang-format"
- ".clang-tidy"
- ".golangci.yml"
- ".yamllint.yml"
- "*.yaml"
- "*.yml"

rules:
anchors:
forbid-duplicated-anchors: true
forbid-unused-anchors: true

braces:
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0

brackets:
min-spaces-inside-empty: 0
max-spaces-inside-empty: 0

comments:
# Disabled so that snippets can be uncommented easily
require-starting-space: false

document-end:
present: false

document-start:
present: false

float-values:
require-numeral-before-decimal: true

indentation:
spaces: 2

line-length:
max: 100
allow-non-breakable-words: false

octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: false

quoted-strings:
quote-type: "double"

truthy:
# Disabled for keys since GitHub actions uses the truthy-looking key "on"
check-keys: false
14 changes: 12 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "com_github_y_scope_clp_ffi_go",
version = "0.0.5-beta",
version = "0.0.6-beta",
)

bazel_dep(name = "gazelle", version = "0.37.0")
Expand All @@ -15,7 +15,17 @@ go_deps.from_file(go_mod = "//:go.mod")
use_repo(
go_deps,
"com_github_klauspost_compress",
"com_github_vmihailenco_msgpack_v5",
)

clp_ffi_go_ext_deps = use_extension("//cpp:deps.bzl", "clp_ffi_go_ext_deps")
# c++
bazel_dep(name = "msgpack-c", version = "6.1.0")
bazel_dep(name = "nlohmann_json", version = "3.11.3.bcr.1")
single_version_override(
module_name = "nlohmann_json",
patches = ["//:bazel/nlohmann_json.patch"],
)

clp_ffi_go_ext_deps = use_extension("//:bazel/deps.bzl", "clp_ffi_go_ext_deps")
use_repo(clp_ffi_go_ext_deps, "com_github_y_scope_clp")
use_repo(clp_ffi_go_ext_deps, "clp_ext_com_github_ned14_outcome")
50 changes: 27 additions & 23 deletions MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2e56cce

Please sign in to comment.