MOBILE-2839 config: Copy config.json to www

main
Dani Palou 2019-01-23 16:05:05 +01:00
parent 9654fcfbbb
commit 2a8c0986c6
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,4 @@
// New copy task for font files
// New copy task for font files and config.json.
module.exports = {
// Override Ionic copyFonts task to exclude Roboto and Noto fonts.
copyFonts: {
@ -8,5 +8,9 @@ module.exports = {
copyFontAwesome: {
src: ['{{ROOT}}/node_modules/font-awesome/fonts/**/*'],
dest: '{{WWW}}/assets/fonts'
},
copyConfig: {
src: ['{{ROOT}}/src/config.json'],
dest: '{{WWW}}/'
}
};

View File

@ -1 +1,3 @@
This folder only contains compiled code and assets. Please do not modify files in this folder, the app code is in the "src" folder.
The config.json values are ignored by the app. This file is informative for Continous Integration processes used by Moodle HQ.