From 7dc09faa49a7d9b04f72840e154fb46dd03fb5fc Mon Sep 17 00:00:00 2001 From: David Roman <2538074+davdroman@users.noreply.github.com> Date: Tue, 27 Jun 2023 16:41:50 +0100 Subject: [PATCH] wip --- projects/tuist.io/xcbeautify/package.yml | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 projects/tuist.io/xcbeautify/package.yml diff --git a/projects/tuist.io/xcbeautify/package.yml b/projects/tuist.io/xcbeautify/package.yml new file mode 100644 index 00000000..b1421302 --- /dev/null +++ b/projects/tuist.io/xcbeautify/package.yml @@ -0,0 +1,25 @@ +distributable: + url: https://github.com/tuist/xcbeautify/archive/refs/tags/{{version}}.tar.gz + strip-components: 1 + +versions: + github: tuist/xcbeautify + +platforms: + - darwin + +provides: + - bin/xcbeautify + +build: + dependencies: + tea.xyz/gx/cc: c99 + # swift.org: 5 + # apple.com/xcode: >=13.3 + script: | + make install + mkdir -p {{prefix}}/bin + mv $(swift build --configuration release --show-bin-path)/xcbeautify {{prefix}}/bin + +test: + xcbeautify --version | grep {{version}}