Adding script to JSON exporter optimized installation.
This commit is contained in:
parent
5caea6c43b
commit
e4e9323356
@ -165,7 +165,7 @@ TiddlyWiki >> exportJSONFileOptimized [
|
|||||||
OSSUnixSubprocess new
|
OSSUnixSubprocess new
|
||||||
command: exporter fullName;
|
command: exporter fullName;
|
||||||
workingDirectory: exporter parent fullName;
|
workingDirectory: exporter parent fullName;
|
||||||
runAndWaitOnExitDo: [ :process :outString | ^ process ]
|
runAndWaitOnExitDo: [ :process :outString | ^ self jsonFile ]
|
||||||
]
|
]
|
||||||
|
|
||||||
{ #category : #accessing }
|
{ #category : #accessing }
|
||||||
@ -291,8 +291,11 @@ TiddlyWiki >> installJsonExporter [
|
|||||||
| folder |
|
| folder |
|
||||||
folder := (self file parent / 'scripts') ensureCreateDirectory.
|
folder := (self file parent / 'scripts') ensureCreateDirectory.
|
||||||
ZnClient new
|
ZnClient new
|
||||||
url: 'https://mutabit.com/repos.fossil/mutabit/uv/wiki/scripts/exportJsonFile';
|
url: 'https://mutabit.com/repos.fossil/mutabit/uv/wiki/scripts/exportJsonFile';
|
||||||
downloadTo: folder / 'exportJsonFile'.
|
downloadTo: folder / 'exportJsonFile'.
|
||||||
|
ZnClient new
|
||||||
|
url: 'https://mutabit.com/repos.fossil/mutabit/doc/trunk/wiki/scripts/exportJsonFile.nim';
|
||||||
|
downloadTo: folder / 'exportJsonFile.nim'.
|
||||||
|
|
||||||
OSSUnixSubprocess new
|
OSSUnixSubprocess new
|
||||||
command: 'chmod';
|
command: 'chmod';
|
||||||
@ -480,7 +483,7 @@ TiddlyWiki >> resynchronize [
|
|||||||
|
|
||||||
| repository |
|
| repository |
|
||||||
self
|
self
|
||||||
exportJSONFile;
|
exportJSONFileOptimized;
|
||||||
importJSONFile.
|
importJSONFile.
|
||||||
repository := self repository.
|
repository := self repository.
|
||||||
repository update.
|
repository update.
|
||||||
|
Loading…
Reference in New Issue
Block a user