Skip to content
This repository was archived by the owner on Oct 19, 2021. It is now read-only.

Commit ae3a46b

Browse files
authored
Merge pull request #3 from touchlab/bw/TouchFrameworkShellScript
Touch Framework Shell Script
2 parents 301c458 + a78fbfa commit ae3a46b

File tree

4 files changed

+14
-5
lines changed

4 files changed

+14
-5
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55
build
66
out
77

8-
.idea
8+
.idea
9+
10+
local.properties

gradle-plugin/src/main/kotlin/co/touchlab/kotlin/gradle/targets/native/tasks/CocoapodsTasks.kt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,13 @@ open class PodspecTask : DefaultTask() {
103103
| -P${KotlinCocoapodsPlugin.HEADER_PATHS_PROPERTY}="${'$'}HEADER_SEARCH_PATHS" \
104104
| -P${KotlinCocoapodsPlugin.FRAMEWORK_PATHS_PROPERTY}="${'$'}FRAMEWORK_SEARCH_PATHS"
105105
| SCRIPT
106-
| }
106+
| },
107+
| {
108+
| :name => 'Touch $specName.framework',
109+
| :execution_position => :after_compile,
110+
| :shell_path => '/bin/sh',
111+
| :script => 'find "${'$'}{SRCROOT}" -type f -name *frameworks.sh -exec bash -c "touch \"{}\"" \;'
112+
| }
107113
| ]
108114
|end
109115
""".trimMargin()
@@ -223,4 +229,4 @@ open class DefFileTask : DefaultTask() {
223229
""".trimIndent()
224230
)
225231
}
226-
}
232+
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
GROUP=co.touchlab
2-
VERSION_NAME=0.7
2+
VERSION_NAME=0.8
33

44
POM_URL=https://github.com/touchlab/KotlinCocoapods/
55
POM_SCM_URL=https://github.com/touchlab/KotlinCocoapods/
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Mon Apr 27 15:26:16 EDT 2020
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-bin.zip
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5-all.zip

0 commit comments

Comments
 (0)