Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide optimized release archives #223

Closed
3 tasks done
brentleyjones opened this issue Mar 30, 2022 · 3 comments
Closed
3 tasks done

Provide optimized release archives #223

brentleyjones opened this issue Mar 30, 2022 · 3 comments
Assignees
Labels
cleanup Development cleanup
Milestone

Comments

@brentleyjones
Copy link
Contributor

brentleyjones commented Mar 30, 2022

When we produce releases we should upload optimized archives. This serves a couple purposes:

We should also add an integration test that uses the release archive instead of just a parent directory.

@brentleyjones brentleyjones added the cleanup Development cleanup label Mar 30, 2022
@brentleyjones
Copy link
Contributor Author

For 0.1.0, this is the command I ran:

COPYFILE_DISABLE=1 tar czvf /tmp/rules_xcodeproj-0.1.0/release.tar.gz --exclude ^test --exclude ^examples --exclude ^shared\.bazelrc --exclude ^xcodeproj/testing.bzl --exclude ^WORKSPACE --exclude buildbuddy\.yaml --exclude ^third_party --exclude ^BUILD --exclude ^bazel_versions\.bzl --exclude ^config --exclude README\.md --exclude '^xcodeproj/internal/xcodeproj_tests\.bzl' --exclude '^xcodeproj/internal/fixtures\.bzl' --exclude ^tools/generator/test *

Ideally this could be automated.

@brentleyjones
Copy link
Contributor Author

The smaller, stable, release archives are done as of #945. Pre-compiled universal binary being part of that is still pending.

@brentleyjones
Copy link
Contributor Author

A pre-compiled binary has a greater need now, since changes to the rules_xcodeproj or rules_xcodeproj_generator configs can effect the generator, when it's not desired (what I would give for bazelbuild/bazel#13839 to be fixed), such as --features=swift.index_while_building.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Development cleanup
Projects
None yet
Development

No branches or pull requests

1 participant