Skip to content
This repository has been archived by the owner on May 1, 2021. It is now read-only.
/ rules_objc Public archive

[DEPRECATED] Experimental Starlark implementation of Objective-C rules for Bazel.

License

Notifications You must be signed in to change notification settings

thii/rules_objc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is deprecated. Native Objective-C rules have already been migrated to Starlark in Bazel core.

Starlark Objective-C rules for Bazel

This repository contains an experimental Starlark implementation of Objective-C rules for Bazel.

Getting Started

Add the following to your WORKSPACE file, replacing <commit> and <sha256> accordingly.

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_objc",
    sha256 = "<sha256>",
    strip_prefix = "rules_objc-<commit>",
    urls = ["https://github.com/thii/rules_objc/archive/<commit>.zip"],
)

Then, in your BUILD files, import and use the rules:

load("@rules_objc//objc:objc.bzl", "objc_library")

objc_library(
    ...
)

The rules are expected to be compatible with their native implementation. See the documentation from the native rules.

Current status

Acknowledgments

Special thanks to the following external rules that have heavily inspired the implementation of these rules (sorted alphabetically).

About

[DEPRECATED] Experimental Starlark implementation of Objective-C rules for Bazel.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published