Rename fish.bzl to defs.bzl, refactor under path fish/, and add to repository rule so it can be used by consumers like load("@fish_toolchains//fish:defs.bzl", "fish_binary").
This is pretty standard for bazel libraries and we should aim to be consistent so it's easy for adopters to understand how to use this.
Rename
fish.bzl
todefs.bzl
, refactor under pathfish/
, and add to repository rule so it can be used by consumers likeload("@fish_toolchains//fish:defs.bzl", "fish_binary")
.This is pretty standard for bazel libraries and we should aim to be consistent so it's easy for adopters to understand how to use this.