vfastdev 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/vfastdev +13 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4038ec3ff521e58dcd337f32ecc3271b62cca8e3
|
|
4
|
+
data.tar.gz: 636e16c84152674fd333bb579ee0aa47d7abb2cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2301b40f87399f53c94aadb104fbf7d6052a1322207bd9106ea098a5d74f756b3a8176476a9cc10a6709c24b3a92d6309cff99fd2abcaada24f163b8b0c38f8c
|
|
7
|
+
data.tar.gz: f0673561616262bfd8ea1f7482685db2c97e5e42bbb2c9755bbb2b6b40fa99381c2c3cebd71c9fbf5cd8ce4829020f39f3e4649443071f6e087e3fcb06e97738
|
data/bin/vfastdev
CHANGED
|
@@ -89,6 +89,7 @@ class VFastDev
|
|
|
89
89
|
download_libs
|
|
90
90
|
unzip_libs
|
|
91
91
|
end
|
|
92
|
+
del_sepc_app
|
|
92
93
|
say_after_done
|
|
93
94
|
end
|
|
94
95
|
end
|
|
@@ -312,6 +313,18 @@ done
|
|
|
312
313
|
def say_after_done
|
|
313
314
|
puts 'FastDev完成。关闭旧的Spec.xcworkspace,打开FastDev/Spec.xcworkspace文件开始开发。'
|
|
314
315
|
end
|
|
316
|
+
def del_sepc_app
|
|
317
|
+
system `
|
|
318
|
+
TARGET_BUILD_DIR=$(xcodebuild -workspace Spec.xcworkspace -scheme Spec -showBuildSettings -sdk iphonesimulator${sdk_version} | grep 'TARGET_BUILD_DIR' | cut -d '=' -f2)
|
|
319
|
+
SPEC_APP_PATH="${TARGET_BUILD_DIR}/Spec.app"
|
|
320
|
+
|
|
321
|
+
if [ -d $SPEC_APP_PATH ];then
|
|
322
|
+
rm -r $SPEC_APP_PATH
|
|
323
|
+
|
|
324
|
+
fi
|
|
325
|
+
|
|
326
|
+
`
|
|
327
|
+
end
|
|
315
328
|
end
|
|
316
329
|
|
|
317
330
|
dev_opts = {
|