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

+tuist.io/tuist #5150

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions projects/tuist.io/tuist/package.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
distributable:
url: https://github.com/tuist/tuist/archive/refs/tags/{{version}}.tar.gz
strip-components: 1

versions:
github: tuist/tuist

platforms:
- darwin

provides:
- bin/tuist

build:
dependencies:
github.com/unsignedapps/swift-create-xcframework: "*"
script:
- swift package tools-version --set-current
- swift build -c release --product tuist
- swift create-xcframework ProjectDescription
- swift create-xcframework ProjectAutomation
- mkdir -p {{prefix}}/bin
- mv $(swift build --configuration release --show-bin-path)/tuist {{prefix}}/bin
- mv $(swift build --configuration release --show-bin-path)/ProjectDescription.xcframework {{prefix}}/bin
- mv $(swift build --configuration release --show-bin-path)/ProjectAutomation.xcframework {{prefix}}/bin
- cp -R Templates {{prefix}}/bin

test: tuist version | grep {{version}}
Loading