Improving required folders detection for exporting visualizations.
This commit is contained in:
parent
fb00701e9e
commit
d4432bae7a
@ -1,6 +1,6 @@
|
||||
accessing
|
||||
exportDefaultReport
|
||||
|
||||
self hasTemplates
|
||||
(self hasFolder: 'templates')
|
||||
ifFalse: [ self installTemplate ].
|
||||
^ self exportWithTemplate: (TweetsCollection dataStore / 'templates' / 'template.mus.tex') into: self folder
|
@ -1,6 +1,8 @@
|
||||
accessing
|
||||
exportStaticWebReport
|
||||
|
||||
self hasTemplates
|
||||
(self hasFolder: 'commons')
|
||||
ifFalse: [ self installCommons ].
|
||||
(self hasFolder: 'templates')
|
||||
ifFalse: [ self installTemplate ].
|
||||
^ self exportWithTemplate: (TweetsCollection dataStore / 'templates' / 'index.mus.html') into: self folder
|
@ -0,0 +1,6 @@
|
||||
accessing
|
||||
hasFolder: folderName
|
||||
|
||||
| fullFolderPath |
|
||||
fullFolderPath :=(TweetsCollection dataStore / folderName ).
|
||||
^ fullFolderPath exists and: [ fullFolderPath children isNotEmpty ]
|
@ -1,6 +0,0 @@
|
||||
accessing
|
||||
hasTemplates
|
||||
|
||||
| templatesFolder |
|
||||
templatesFolder :=(TweetsCollection dataStore / 'templates' ).
|
||||
^ templatesFolder exists and: [ templatesFolder children isNotEmpty ]
|
Loading…
Reference in New Issue
Block a user