diff --git a/modules/rules_flex/0.3/MODULE.bazel b/modules/rules_flex/0.3/MODULE.bazel new file mode 100644 index 00000000000..67c1db65d6d --- /dev/null +++ b/modules/rules_flex/0.3/MODULE.bazel @@ -0,0 +1,45 @@ +module( + name = "rules_flex", + version = "0.3", + compatibility_level = 1, +) + +bazel_dep(name = "rules_m4", version = "0.2.3") + +bazel_dep( + name = "googletest", + version = "1.12.1", + dev_dependency = True, + repo_name = "com_google_googletest", +) +bazel_dep( + name = "bazel_skylib", + version = "1.2.1", + dev_dependency = True, +) +bazel_dep( + name = "stardoc", + version = "0.5.3", + dev_dependency = True, + repo_name = "io_bazel_stardoc", +) + +default_toolchain = use_extension( + "//flex/internal:default_toolchain_ext.bzl", + "default_toolchain_ext", +) +use_repo(default_toolchain, "flex") + +register_toolchains("@flex//:toolchain") + +testutil = use_extension( + "//flex/internal:testutil_ext.bzl", + "rules_flex_testutil_ext", + dev_dependency = True, +) +use_repo(testutil, "rules_flex_testutil") + +register_toolchains( + "@rules_flex_testutil//toolchains:all", + dev_dependency = True, +) diff --git a/modules/rules_flex/0.3/presubmit.yml b/modules/rules_flex/0.3/presubmit.yml new file mode 100644 index 00000000000..2206e59bdf7 --- /dev/null +++ b/modules/rules_flex/0.3/presubmit.yml @@ -0,0 +1,15 @@ +matrix: + bazel: ["6.x", "7.x"] + platform: + - centos7 + - debian10 + - ubuntu2004 + - macos +tasks: + verify_targets: + name: Verify build targets + platform: ${{ platform }} + bazel: ${{ bazel }} + build_targets: + - '@rules_flex//tests:hello_c' + - '@rules_flex//tests:genrule_flex_cc' diff --git a/modules/rules_flex/0.3/source.json b/modules/rules_flex/0.3/source.json new file mode 100644 index 00000000000..bb146443792 --- /dev/null +++ b/modules/rules_flex/0.3/source.json @@ -0,0 +1,4 @@ +{ + "url": "https://github.com/jmillikin/rules_flex/releases/download/v0.3/rules_flex-v0.3.tar.xz", + "integrity": "sha256-mTk4c9ShvORIU/HPDEijRkBYPO49BvLT1DnhL7FSkDY=" +} diff --git a/modules/rules_flex/metadata.json b/modules/rules_flex/metadata.json index bce20cfc99a..607770727ab 100644 --- a/modules/rules_flex/metadata.json +++ b/modules/rules_flex/metadata.json @@ -2,16 +2,17 @@ "homepage": "https://github.com/jmillikin/rules_flex", "maintainers": [ { + "name": "John Millikin", "email": "john@john-millikin.com", - "github": "jmillikin", - "name": "John Millikin" + "github": "jmillikin" } ], "repository": [ "github:jmillikin/rules_flex" ], "versions": [ - "0.2.1" + "0.2.1", + "0.3" ], "yanked_versions": {} }