Modifying NanoID install.
This commit is contained in:
parent
69dc91f890
commit
3ac4502ffa
@ -35,8 +35,10 @@ NanoID class >> install [
|
|||||||
OSSUnixSubprocess new
|
OSSUnixSubprocess new
|
||||||
command: 'nim';
|
command: 'nim';
|
||||||
arguments: {'c'. self scriptSourceCode fullName};
|
arguments: {'c'. self scriptSourceCode fullName};
|
||||||
workingDirectory: binaryFileFolder;
|
"workingDirectory: binaryFileFolder;"
|
||||||
runAndWaitOnExitDo: [ :process :outString | ^ binaryFileFolder ]
|
runAndWaitOnExitDo: [ :process :outString |
|
||||||
|
(self scriptSourceCode parent / (self scriptSourceCode) basenameWithoutExtension) moveTo: binaryFileFolder asFileReference.
|
||||||
|
^ binaryFileFolder ]
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
|
Loading…
Reference in New Issue
Block a user