loadup-lfg.sh script to create lfg.sysout - to be installed and run from LFG directory#1960
Draft
loadup-lfg.sh script to create lfg.sysout - to be installed and run from LFG directory#1960
Conversation
…e former is intended to be installed in the LFG directory (in the scripts subfolder). The later is to remain in the medley scripts direcory.
Contributor
|
This script will evolve into a general way of doing loadups of Medley applications that are made on top of a git/medley but are not themselves in the Medley repo and perhaps not in any repo at all, only in the user's local file system. In the meantime, we will move this to scripts/examples. |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NOTE: This PR is completely independent of the standard medley loadup scripts and any PR related thereof.
This PR contains 2 new files (in the MEDLEYDIR/scripts directory).
The first file
loadup-lfg.shneeds to be copied into LFGDIR/scripts. Note that the "Lisp-ish CM here-doc" included in this file needs to updated to account for how LFG is actually loaded. What's there now is just a skeleton for testing.Also if there are more outputs of the loadup process that need to be preserved, then the line starting with
loadup_finishwill need to be updated accordingly.The second file
loadup-app-setup.shis to remain in MELDEYDIR/scripts directory. NOTE: until this PR is integrated AND the file is spread throughout all MEDLEYDIRs used for LFG, you will need to copy this file into MEDLEYDIR/scripts for all MEDLEYDIRs you want to use as a basis for lfg.sysout.To build a lfg.sysout, run
LFGDIR/scripts/loadup-lfg.sh. You will need to specify a MEDLEYDIR to pull full.sysout from (and to host the second aforementioned file). You can specify the MEDLEYDIR either by setting the MEDLEYDIR env variable OR by using the-m <path to medley dir>command-line argument. (Note: -medley and --medley are synonyms for -m.)By default, LFGDIR is set to the (parent of) the directory that the loadup-lfg script is being executed from. And the loadup build happens in LFGDIR/loadups/build. If the loadup is successful, the lfg.sysout and lfg.dribble files are copied into LFGDIR/loadups.
To change these defaults set the following env variables: LFG_DIR, LFG_WORKDIR and LFG_LOADUPSDIR. Any directories specified in this way must already exist - the script will not create them.
Again all of this does not depend on any of the medley loadup scripts.