bazelbuild / bazelbuild/rules_pkg

Set attributes for specific files in pkg_files?

Open
#904 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Starlark
Stars
253
Forks
221
Avg merge
10h 33m
Merged PRs (30d)
1

Description

This works:

```starlark
pkg_files(
name = "app_files",
srcs = [
":app",
],
attributes = pkg_attributes(mode = "0777"),
)
```

but it sets the mode for every file.

How can I set the mode for only one specific file?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.