Closed mhdabdulhameed closed 2 years ago
Sorry.
@EspressoCup How do you include the binary in releases?
To create a binary, run https://github.com/uber/mockolo/blob/master/install-script.sh with input target name mockolo
and output mockolo.tar.gz
.
@mhdabdulhameed I have created a binary and attached it to the release. https://github.com/uber/mockolo/releases/tag/1.7.0
Log:
$ ./install-script.sh -s . -t mockolo -d . -o mockolo.tar.gz
** Clean/Build...
SOURCE DIR = /Users/uhooi/Documents/Repos/GitHub/uber/mockolo
TARGET = mockolo
DESTINATION DIR = /Users/uhooi/Documents/Repos/GitHub/uber/mockolo
OUTPUT FILE = mockolo.tar.gz
Fetching https://github.com/apple/swift-tools-support-core.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-argument-parser (0.66s)
Fetched https://github.com/apple/swift-tools-support-core.git (0.68s)
Fetched https://github.com/apple/swift-syntax.git (0.69s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50500.0 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.0.3 (0.01s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.2.3 (0.02s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.2.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50500.0
remark: Incremental compilation has been disabled: it is not compatible with whole mo
remark: Incremental compilation has been disabled: it is not compatible with whole mo
remark: Incremental compilation has been disabled: it is not compatible with whole mo
remark: Incremental compilation has been disabled: it is not compatible with whole mo
remark: Incremental compilation has been disabled: it is not compatible with whole mo
remark: Incremental compilation has been disabled: it is not compatible with whole mo
remark: Incremental compilation has been disabled: it is not compatible with whole mo
remark: Incremental compilation has been disabled: it is not compatible with whole mo
[13/13] Build complete!
** Install...
a mockolo
a lib_InternalSwiftSyntaxParser.dylib
** Output file is at /Users/uhooi/Documents/Repos/GitHub/uber/mockolo/mockolo.tar.gz
** Done.
The latest release of Mockolo doesn't have the binary attached in the GitHub release. I think it would be great to have it attached :)