-
Notifications
You must be signed in to change notification settings - Fork 39
Dev/ruby34 #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Dev/ruby34 #43
Changes from 7 commits
53326c0
e7f72ba
1d7e3ad
35b398b
62ed876
2f1606c
b11c02b
96b11e2
cf59b15
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,7 @@ on: | |
| - main | ||
| - dev/ruby31 | ||
| - dev/ruby32 | ||
| - dev/ruby34 | ||
| - dev/actions | ||
| pull_request: | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,6 +9,12 @@ | |
|
|
||
| The binary will be located under: `Build/output/Build/Products/Release/SURubyDebugger.dylib` | ||
|
|
||
| After building, the dylib is copied into the `Contents/Frameworks` directory of | ||
| `SKETCHUP_APP_PATH`, which defaults to `/Applications/SketchUp 2027/SketchUp.app`. | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That makes it easier to debug/dev build this. 👍 |
||
| Override it to install into a different SketchUp, such as a local build: | ||
|
|
||
| xcodebuild -scheme SURubyDebugger -configuration Release SKETCHUP_APP_PATH="/path/to/SketchUp.app" | ||
|
|
||
| ### Windows | ||
|
|
||
| TODO: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,7 +13,7 @@ This is a Ruby debugger framework for SketchUp 2014 and later. The `ruby-debug-i | |
| - Download the pre-built dynamic library (SURubyDebugger.dll) from the [latest release](https://github.com/SketchUp/sketchup-ruby-debugger/releases) or build from the sources. | ||
| - Copy the DLL into the SketchUp installation directory. As the exact path will depend on the version of SketchUp you have installed, look for a folder similar to the following: | ||
| ``` | ||
| C:\Program Files\SketchUp\SketchUp 2024\ | ||
| C:\Program Files\SketchUp\SketchUp 2027\ | ||
|
|
||
| C:\Program Files (x86)\SketchUp\SketchUp 2015\ | ||
| ``` | ||
|
|
@@ -27,15 +27,15 @@ SketchUp.exe -rdebug "ide port=6123" | |
| - Install SketchUp 2014 Maintenance 1 Release (version 14.1.1283) or later. | ||
| - Download `SURubyDebugger.dylib` into the Frameworks directory of the app bundle: | ||
| ``` | ||
| curl -L https://github.com/SketchUp/sketchup-ruby-debugger/releases/download/1.5.0.0/SURubyDebugger.dylib -o /Applications/SketchUp\ 2024/SketchUp.app/Contents/Frameworks/SURubyDebugger.dylib | ||
| curl -L https://github.com/SketchUp/sketchup-ruby-debugger/releases/download/1.5.0.0/SURubyDebugger.dylib -o /Applications/SketchUp\ 2027/SketchUp.app/Contents/Frameworks/SURubyDebugger.dylib | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Once we have it ready. we need to publish the artifact as a Release. And update these lines do it pulls the right binary for the right version. |
||
| ``` | ||
| - Run SketchUp from the command line: | ||
| ``` | ||
| /Applications/SketchUp\ 2024/SketchUp.app/Contents/MacOS/SketchUp -rdebug "ide port=6123" | ||
| /Applications/SketchUp\ 2027/SketchUp.app/Contents/MacOS/SketchUp -rdebug "ide port=6123" | ||
| ``` | ||
| Alternatively: | ||
| ``` | ||
| open -a /Applications/SketchUp\ 2024/SketchUp.app --args -rdebug "ide port=6123" | ||
| open -a /Applications/SketchUp\ 2027/SketchUp.app --args -rdebug "ide port=6123" | ||
| ``` | ||
|
|
||
| ## Known Issues | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This now appear as a custom property in the XCode target?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it shows up under User-Defined in Build Settings for the SURubyDebugger target, editable there like any other setting