mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-05-13 11:36:37 +00:00
build: fix iOS framework build (#22813)
This fixes a regression introduced in #22804.
This commit is contained in:
parent
d107f90d1c
commit
973ad66b49
1 changed files with 3 additions and 0 deletions
|
|
@ -972,6 +972,9 @@ func doXCodeFramework(cmdline []string) {
|
||||||
// Create the archive.
|
// Create the archive.
|
||||||
maybeSkipArchive(env)
|
maybeSkipArchive(env)
|
||||||
archive := "geth-" + archiveBasename("ios", params.ArchiveVersion(env.Commit))
|
archive := "geth-" + archiveBasename("ios", params.ArchiveVersion(env.Commit))
|
||||||
|
if err := os.MkdirAll(archive, 0755); err != nil {
|
||||||
|
log.Fatal(err)
|
||||||
|
}
|
||||||
bind.Dir, _ = filepath.Abs(archive)
|
bind.Dir, _ = filepath.Abs(archive)
|
||||||
build.MustRun(bind)
|
build.MustRun(bind)
|
||||||
build.MustRunCommand("tar", "-zcvf", archive+".tar.gz", archive)
|
build.MustRunCommand("tar", "-zcvf", archive+".tar.gz", archive)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue