Skip to content
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