Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
12114:demo [2024/04/15 03:54 UTC] – created mwolfe | 12114:demo [2024/04/15 04:00 UTC] – mwolfe | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Demo Script: DevCon 2024 ====== | ====== Demo Script: DevCon 2024 ====== | ||
- | Create repo: '' | + | ===== Download |
- | + | ||
- | Open twinBASIC > **Sample 4** | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | Save as: '' | + | |
- | + | ||
- | Ignore '' | + | |
- | + | ||
- | <file text .hgignore> | + | |
- | syntax: glob | + | |
- | *.twinproj | + | |
- | </ | + | |
- | + | ||
- | ===== Set Export Path for Version Control ===== | + | |
- | + | ||
- | - Ensure a clean repository with initial commit of .hgignore | + | |
- | - **Project** > **Project Settings...** | + | |
- | - Search for " | + | |
- | - Check box next to "[√] Project: Export Path" | + | |
- | - Enter text: '' | + | |
- | * //This will save the twinBASIC source files to a subfolder named " | + | |
- | - Check box next to "[√] Project: Export After Save" | + | |
- | - Click [Save Changes] | + | |
- | - **File** > **Export Project...** to force an initial export | + | |
- | - In TortoiseHg, commit with the following message: '' | + | |
- | * The commit will include over 1,000 files; this is expected | + | |
- | * Most of the committed files come from referenced packages; that's ok | + | |
- | * [[nls> | + | |
- | + | ||
- | ===== Test Build From Source in Empty Folder ===== | + | |
- | + | ||
- | - Create a new folder: '' | + | |
- | - Clone the repository into this folder: | + | |
- | - Open a new instance of twinBASIC | + | |
- | - In the _| New |_ tab, click [Import from folder...] then [Open] | + | |
- | - Enter folder name: '' | + | |
- | - **File** > **Save Project As...** > '' | + | |
- | - Make any small change to a project file | + | |
- | - Save the project | + | |
- | - Commit the change and push to Opalstack | + | |
- | + | ||
- | + | ||
- | ===== Test Build From Source for an Existing Project ===== | + | |
- | + | ||
- | The twinBASIC IDE appears to currently lack a "Build from Source" | + | |
- | + | ||
- | - In the original repository ('' | + | |
- | - Open a new twinBASIC instance OR go to **File** > **New Project...** | + | |
- | - In the _| New |_ tab, click [Import from folder...] then [Open] | + | |
- | - For folder, enter '' | + | |
- | - Go to **File** > **Save As...** | + | |
- | - Save project as '' | + | |
- | - Click [Yes] when asked to replace the existing file | + | |
- | - Confirm that the project successfully built from source: | + | |
- | - Go to **File** > **Export Project...** to force a full export of the source files | + | |
- | - Verify that new "Last Modified" | + | |
- | - Verify that there are no pending changes in the repository | + | |
+ | - Download [[https:// | ||
+ | - Extract from Zip folder | ||
+ | - Open twinBASIC > **Sample 4** | ||
+ | - Enter name: '' | ||
+ | - Save as: '' | ||
===== Create the Tool Window Controls ===== | ===== Create the Tool Window Controls ===== |