Commit a3a912a3 authored by Drew's avatar Drew

Use package-homebrew packager

parent d564f519
Pipeline #1886 failed with stage
......@@ -8,13 +8,12 @@ osx:
stage: build
script:
- atbuild check
- mkdir xcode-emit-${CI_BUILD_REF}
- cp bin/xcode_emit xcode-emit-${CI_BUILD_REF}/xcode-emit
- tar cJf xcode-emit-${CI_BUILD_REF}-osx.tar.xz xcode-emit-${CI_BUILD_REF}
- atbuild package
tags:
- openswift
- atbuild
artifacts:
paths:
- xcode-emit-${CI_BUILD_REF}-osx.tar.xz
- bin/xcode_emit*.tar.xz
- bin/xcode_emit.rb
......@@ -17,6 +17,7 @@
(package
:name "xcode-emit"
:import-packages ["atpkg/build.atpkg"]
:version "0.4"
:tasks {
:xcodeemit {
......@@ -27,13 +28,26 @@
:dependencies ["atpkg.atpkg" "atfoundation.atfoundation"]
:link-with ["atpkg.a" "atfoundation.a"]
:link-options ["-static-stdlib"]
:publish-product true
:executable-name "xcode-emit"
}
:default {
:tool "shell"
:tool "nop"
:dependencies ["xcodeemit"]
:script "mv .atllbuild/products/xcode_emit .atllbuild/products/xcode-emit"
}
:atbin {
:tool "packageatbin"
:name "xcode_emit"
:atllbuild-task "xcodeemit"
:platforms ["all"]
}
:package {
:tool "package-homebrew.attool"
:name "xcode_emit"
:dependencies ["atbin"]
:github-project "AnarchyTools/xcode-emit"
}
:ioscheck {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment