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

Move swiftSyntax to its own repo #1

Closed
wants to merge 1 commit into from
Closed

Move swiftSyntax to its own repo #1

wants to merge 1 commit into from

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Aug 27, 2018

This makes swiftSyntax its own (fairly) standalone SwiftPM package.

The general architecture is:

  • To just build swiftSyntax off master the only other requirement is to have the main swift repo checked out alongside the swift-syntax repository so that swiftSyntax can access the Python scripts in gyb_syntax_support. The build script drives the generation of the gyb files and invokes swift-build to build swiftSyntax as a package manager project
  • To run the tests the compiler needs to be built because we make use of swift-syntax-test which is not shipped with any toolchain and because you probably want to use ToT swiftSyntax with ToT swiftc anyway.

The plan is to have another branch in this repository (tentatively calling it master-gybed) always contain the package after the gybbing phase has already run. That way other packages can depend on swiftSyntax without needing to check out the main swift repo.

The changes in this PR are fairly final on my part right now, but consider this more as a RFC than an actual in-detail-PR right now.

@ahoppen
Copy link
Member Author

ahoppen commented Aug 27, 2018

@akyrtzi and I just decided that we'll commit to this branch new-master for now. Closing this PR since it thus becomes empty.

@ahoppen ahoppen closed this Aug 27, 2018
@ahoppen ahoppen deleted the move-to-new-repo branch August 28, 2018 23:33
rintaro added a commit to rintaro/swift-syntax that referenced this pull request Aug 8, 2022
adevress pushed a commit to adevress/swift-syntax that referenced this pull request Jan 14, 2024
Initial implementation of swift-format.
kateinoigakukun pushed a commit to kateinoigakukun/swift-syntax that referenced this pull request Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant