Skip to content

1995parham-learning/hello-bazel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Hello Bazel πŸ‘‹

A collection of simple Bazel examples demonstrating how to build projects in different programming languages.

πŸ“¦ Contents

  1. Go Example (//hello-go:hello-go)

    • Basic Go program
    • Shows Go integration with Bazel
  2. Python Example (//hello-py:hello)

    • Python binary and library
    • Demonstrates PyBinary rule

πŸš€ Getting Started

Prerequisites

  • Bazel installed (version 6.x or later recommended)
  • For specific examples:
    • Go toolchain (for Go examples)
    • Python (for Python examples)

Building Examples

To build any target, run:

bazel build //hello-py:hello

bazel build //hello-go:hello-go

To run a target directly:

bazel run //hello-go:gazelle
bazel run //hello-go:hello-go

bazel run //hello-py:hello

About

Hello Bazel πŸ‘‹

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published