Publish Vulpes Preview 15 sources for desktop, Android and Tundra

Share Gaia assets and adapters, keep private profiles and development documents local, and update both public READMEs.
This commit is contained in:
OverSu 2026-09-30 23:13:03 +02:00
commit b38dea0597
25901 changed files with 9982925 additions and 369 deletions

58
gaia/gulpfile.js Executable file
View file

@ -0,0 +1,58 @@
/* jshint node: true */
'use strict';
var gulp = require('gulp');
var documentation = require('gulp-documentation');
var ghPages = require('gulp-gh-pages');
var del = require('del');
var fs = require('fs');
var path = require('path');
var JSDOC_JSON = 'jsdoc.json';
var JSDOC_TASK_PREFIX = 'jsdoc:';
var jsdocTasks = [];
var generatePerAppTasks = function(appFolder) {
var files = fs.readdirSync(appFolder);
// generate per app tasks and host those tasks name in jsdocTasks list
files.forEach(function(filePath, i) {
var appName = path.join(appFolder, filePath);
if (fs.statSync(appName).isDirectory()) {
// read jsdoc.json file in each app
var jsonFile = path.join(appFolder, filePath, JSDOC_JSON);
if (fs.existsSync(jsonFile)) {
console.log(filePath + ' config file found');
var appcfg = JSON.parse(fs.readFileSync(jsonFile,
{ encoding: 'utf8' }));
if('name' in appcfg) {
var property = appcfg['name'];
jsdocTasks.push(JSDOC_TASK_PREFIX + property);
gulp.task(JSDOC_TASK_PREFIX + property, function() {
console.log('checking '+ appcfg.source.include)
gulp.src(appcfg.source.include)
.pipe(documentation({format: 'html'}))
.pipe(gulp.dest(appcfg.opts.destination));
});
console.log('... ' + property + ' task registered');
}
}
}
});
};
['apps', 'tv_apps'].forEach(function(appFolder) {
generatePerAppTasks(appFolder);
});
gulp.task('clean', function(cb) {
del(['./docs'], cb);
});
gulp.task('docs', jsdocTasks);
gulp.task('github', ['docs'], function() {
return gulp.src('./docs/**/*')
.pipe(ghPages());
});