]> git.puffer.fish Git - matthieu/nova.git/commitdiff
add rust project
authorMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>
Wed, 4 Aug 2021 18:04:34 +0000 (22:04 +0400)
committerMatthieu Pignolet <20992787+MatthieuCoder@users.noreply.github.com>
Wed, 4 Aug 2021 18:04:34 +0000 (22:04 +0400)
.github/workflows/bazel-build.yml
WORKSPACE
rest-ratelimiter/src/main.rs

index e6325cd2cf8c2fd0d435f5abb49c222605a9a2d8..d2affe8bc8b87b46590d7b766ff64307b8e67bcd 100644 (file)
@@ -42,6 +42,7 @@ jobs:
       - name: Execute build script
         run: |
            bazel run //:gazelle 
+           bazel run @cargo_raze//:raze -- --manifest-path=$(realpath rest-ralimiter/Cargo.toml)
            bazel build //...
       - name: Bazel artifacts
         uses: actions/upload-artifact@v2
index f1d6b9e2e5fe28458960063aaac7ef5ccba35b79..41e9ccb01e141c0372db40b04305ecbd2264b20b 100644 (file)
--- a/WORKSPACE
+++ b/WORKSPACE
@@ -66,20 +66,6 @@ go_repository(
     version = "v1.22.0",
 )
 
-go_repository(
-    name = "org_golang_x_net",
-    importpath = "golang.org/x/net",
-    sum = "h1:oWX7TPOiFAMXLq8o0ikBYfCJVlRHBcsciT5bXOrH628=",
-    version = "v0.0.0-20190311183353-d8887717615a",
-)
-
-go_repository(
-    name = "org_golang_x_text",
-    importpath = "golang.org/x/text",
-    sum = "h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg=",
-    version = "v0.3.0",
-)
-
 load("//:deps.bzl", "go_dependencies")
 
 # gazelle:repository_macro deps.bzl%go_dependencies
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..09525bc8960e43a45ce214fd0e3205983b629d09 100644 (file)
@@ -0,0 +1,4 @@
+fn main() {
+    println!("Hello World!");
+}
+