view playground/BUILD @ 8:98f96b8032e5

[GuiZe] Creating custom bazel rule to deploy to github easily.
author June Park <parkjune1995@gmail.com>
date Tue, 30 Sep 2025 03:53:26 -0700
parents adcfad6e86fb
children de54585a40f1
line wrap: on
line source

load("@rules_cc//cc:cc_binary.bzl", "cc_binary")

alias(
  name = "playground",
  actual = select({
    "@platforms//os:osx": ":playground_osx",
  })
)

cc_binary(
  name = "playground_osx",
  srcs = ["main.c"],
  deps = [],
)