Skip to content

Commit d9a1816

Browse files
1 parent c4547d1 commit d9a1816

File tree

4 files changed

+61
-0
lines changed

4 files changed

+61
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
"rules_uv"
2+
3+
module(
4+
name = "rules_uv",
5+
version = "0.1.0",
6+
compatibility_level = 1,
7+
)
8+
9+
bazel_dep(name = "bazel_skylib", version = "1.4.1")
10+
bazel_dep(name = "buildifier_prebuilt", version = "6.1.2")
11+
bazel_dep(name = "platforms", version = "0.0.8")
12+
bazel_dep(name = "rules_multitool", version = "0.4.0")
13+
14+
# required for venv
15+
bazel_dep(name = "rules_python", version = "0.31.0")
16+
17+
multitool = use_extension("@rules_multitool//multitool:extension.bzl", "multitool")
18+
multitool.hub(lockfile = "//uv/private:uv.lock.json")
19+
use_repo(multitool, "multitool")
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
matrix:
2+
platform:
3+
- debian10
4+
- ubuntu2004
5+
- macos
6+
- macos_arm64
7+
bazel:
8+
- 7.x
9+
tasks:
10+
verify_targets:
11+
name: Verify build targets
12+
platform: ${{ platform }}
13+
bazel: ${{ bazel }}
14+
build_targets:
15+
- "@rules_uv//..."

modules/rules_uv/0.1.0/source.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"integrity": "sha256-D8SIrG2ag8lH8GaRn/0rEWgrjCHfqHXimyzubowizlk=",
3+
"strip_prefix": "rules_uv-0.1.0",
4+
"url": "https://github.com/theoremlp/rules_uv/releases/download/v0.1.0/rules_uv-0.1.0.tar.gz"
5+
}

modules/rules_uv/metadata.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"homepage": "https://github.com/theoremlp/rules_uv",
3+
"maintainers": [
4+
{
5+
"email": "[email protected]",
6+
"github": "mark-thm",
7+
"name": "Mark Elliot"
8+
},
9+
{
10+
"email": "[email protected]",
11+
"github": "theoremlp",
12+
"name": "Theorem Bazel Maintainers"
13+
}
14+
],
15+
"repository": [
16+
"github:theoremlp/rules_uv"
17+
],
18+
"versions": [
19+
"0.1.0"
20+
],
21+
"yanked_versions": {}
22+
}

0 commit comments

Comments
 (0)