Skip to content
Snippets Groups Projects
Commit 677ca626 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[enh] Add feed.json to web artifacts

parent 7ff97638
No related branches found
No related tags found
No related merge requests found
...@@ -115,6 +115,13 @@ ...@@ -115,6 +115,13 @@
"es-ES": "license/license_g1-es-ES", "es-ES": "license/license_g1-es-ES",
"eo-EO": "license/license_g1-eo-EO" "eo-EO": "license/license_g1-eo-EO"
}, },
"feed": {
"jsonFeed": {
"fr-FR": "feed.json",
"en": "feed.json"
},
"maxContentLength": 650
},
"node": { "node": {
"host": "g1.duniter.fr", "host": "g1.duniter.fr",
"port": 443 "port": 443
......
...@@ -342,8 +342,8 @@ function webCopyFiles() { ...@@ -342,8 +342,8 @@ function webCopyFiles() {
gulp.src('./www/img/**/*.*') gulp.src('./www/img/**/*.*')
.pipe(gulp.dest(tmpPath + '/img')), .pipe(gulp.dest(tmpPath + '/img')),
// Copy manifest // Copy manifest.json, feed.json
gulp.src('./www/manifest.json') gulp.src(['./www/manifest.json', './www/feed*.json'])
.pipe(gulp.dest(tmpPath)), .pipe(gulp.dest(tmpPath)),
// Copy lib // Copy lib
...@@ -647,6 +647,9 @@ function webExtCopyFiles() { ...@@ -647,6 +647,9 @@ function webExtCopyFiles() {
'!' + wwwPath + '/api/debug.html', '!' + wwwPath + '/api/debug.html',
'!' + wwwPath + '/debug.html', '!' + wwwPath + '/debug.html',
// Remove unused files (feed.json) in extension
'!' + wwwPath + '/feed*.json',
// Add specific resource (and overwrite the default 'manifest.json') // Add specific resource (and overwrite the default 'manifest.json')
'!' + wwwPath + '/manifest.json', '!' + wwwPath + '/manifest.json',
resourcesPath + '/**/*.*' resourcesPath + '/**/*.*'
......
...@@ -175,7 +175,6 @@ else ...@@ -175,7 +175,6 @@ else
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then
exit 1 exit 1
fi fi
fi fi
......
...@@ -98,7 +98,7 @@ angular.module("cesium.config", []) ...@@ -98,7 +98,7 @@ angular.module("cesium.config", [])
} }
}, },
"version": "1.5.3", "version": "1.5.3",
"build": "2020-03-04T18:00:55.476Z", "build": "2020-03-05T15:07:38.518Z",
"newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new" "newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new"
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment