Added dark theme file to packaging scripts.

This commit is contained in:
Oliver Hamlet
2015-06-30 12:34:25 +01:00
parent 4dd6f6947b
commit 89fb51f235
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -157,10 +157,12 @@ def createAppArchive(archive_path):
os.makedirs( os.path.join(temp_path, 'resources', 'report', 'bower_components', 'Jed') )
os.makedirs( os.path.join(temp_path, 'resources', 'report', 'bower_components', 'jed-gettext-parser') )
os.makedirs( os.path.join(temp_path, 'resources', 'report', 'js') )
os.makedirs( os.path.join(temp_path, 'resources', 'report', 'css') )
shutil.copy( os.path.join('..', 'resources', 'report', 'index.html'), os.path.join(temp_path, 'resources', 'report') )
shutil.copy( os.path.join('..', 'resources', 'report', 'bower_components', 'marked', 'lib', 'marked.js'), os.path.join(temp_path, 'resources', 'report', 'bower_components', 'marked', 'lib') )
shutil.copy( os.path.join('..', 'resources', 'report', 'bower_components', 'Jed', 'jed.js'), os.path.join(temp_path, 'resources', 'report', 'bower_components', 'Jed') )
shutil.copy( os.path.join('..', 'resources', 'report', 'bower_components', 'jed-gettext-parser', 'jedGettextParser.js'), os.path.join(temp_path, 'resources', 'report', 'bower_components', 'jed-gettext-parser') )
shutil.copy( os.path.join('..', 'resources', 'report', 'css', 'dark-theme.css'), os.path.join(temp_path, 'resources', 'report', 'css') )
shutil.copytree( os.path.join('..', 'resources', 'report', 'fonts'), os.path.join(temp_path, 'resources', 'report', 'fonts') )
shutil.copy( os.path.join('..', 'resources', 'report', 'js', 'events.js'), os.path.join(temp_path, 'resources', 'report', 'js') )
shutil.copy( os.path.join('..', 'resources', 'report', 'js', 'filters.js'), os.path.join(temp_path, 'resources', 'report', 'js') )
+3
View File
@@ -347,6 +347,8 @@ FunctionEnd
File "..\resources\report\bower_components\Jed\jed.js"
SetOutPath "$INSTDIR\resources\report\bower_components\jed-gettext-parser"
File "..\resources\report\bower_components\jed-gettext-parser\jedGettextParser.js"
SetOutPath "$INSTDIR\resources\report\css"
File "..\resources\report\css\dark-theme.css"
SetOutPath "$INSTDIR\resources\report\fonts"
File "..\resources\report\fonts\*"
SetOutPath "$INSTDIR\resources\report\js"
@@ -511,6 +513,7 @@ FunctionEnd
Delete "$INSTDIR\resources\report\bower_components\marked\lib\marked.js"
Delete "$INSTDIR\resources\report\bower_components\Jed\jed.js"
Delete "$INSTDIR\resources\report\bower_components\jed-gettext-parser\jedGettextParser.js"
Delete "$INSTDIR\resources\report\css\dark-theme.css"
RMDir /r "$INSTDIR\resources\report\fonts"
Delete "$INSTDIR\resources\report\js\events.js"
Delete "$INSTDIR\resources\report\js\filters.js"