Modifying NanoID install.

This commit is contained in:
ruidajo 2022-07-25 18:04:34 -05:00
parent 69dc91f890
commit 3ac4502ffa
1 changed files with 4 additions and 2 deletions

View File

@ -35,8 +35,10 @@ NanoID class >> install [
OSSUnixSubprocess new
command: 'nim';
arguments: {'c'. self scriptSourceCode fullName};
workingDirectory: binaryFileFolder;
runAndWaitOnExitDo: [ :process :outString | ^ binaryFileFolder ]
"workingDirectory: binaryFileFolder;"
runAndWaitOnExitDo: [ :process :outString |
(self scriptSourceCode parent / (self scriptSourceCode) basenameWithoutExtension) moveTo: binaryFileFolder asFileReference.
^ binaryFileFolder ]
]
{ #category : #accessing }