mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-03-29 00:48:07 +08:00
embed stable and pre-release versions with "motion support"
This commit is contained in:
2
NEWS
2
NEWS
@@ -2,6 +2,8 @@
|
||||
|
||||
* [iOS] Fixed a regression where Extension and Frameworks could not build for
|
||||
iOS device.
|
||||
* Fixed the `motion support' command invocation to print both the stable and
|
||||
pre-release versions of RubyMotion.
|
||||
|
||||
= RubyMotion 2.38 =
|
||||
|
||||
|
||||
@@ -37,7 +37,11 @@ module Motion; class Command
|
||||
|
||||
# Collect details about the environment.
|
||||
osx_vers = `/usr/bin/sw_vers -productVersion`.strip
|
||||
rm_vers = Motion::Version
|
||||
if defined?(Pre::Motion::Version)
|
||||
rm_vers = "#{Motion::Version} (stable), #{Pre::Motion::Version} (pre-release)"
|
||||
else
|
||||
rm_vers = Motion::Version
|
||||
end
|
||||
xcode_vers = begin
|
||||
xcodebuild = `which xcodebuild`.strip
|
||||
xcodebuild = '/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild' if xcodebuild.empty?
|
||||
|
||||
Reference in New Issue
Block a user