scripts: fix submodule path

This commit is contained in:
liushuyu 2021-05-11 18:22:59 -06:00
parent a8d0983cb4
commit e1556c3e5a
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437
3 changed files with 5 additions and 5 deletions

6
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "scripts"] [submodule "scripts/shared-hugo-scripts"]
path = scripts path = scripts/shared-hugo-scripts
url = https://github.com/yuzu-emu/shared-hugo-scripts url = https://github.com/yuzu-emu/shared-hugo-scripts.git

View File

@ -13,13 +13,13 @@ const concat = require('gulp-concat');
const imageResize = require('gulp-image-resize'); const imageResize = require('gulp-image-resize');
gulp.task('scripts:games', function (callback) { gulp.task('scripts:games', function (callback) {
exec('yarn install && node app.js', { cwd: './scripts/compatdb/' }, function (err, stdout, stderr) { exec('yarn install && node app.js', { cwd: './scripts/shared-hugo-scripts/compatdb/' }, function (err, stdout, stderr) {
callback(err); callback(err);
}); });
}); });
gulp.task('scripts:wiki', function (callback) { gulp.task('scripts:wiki', function (callback) {
exec('yarn install && node app.js', { cwd: './scripts/wiki/' }, function (err, stdout, stderr) { exec('yarn install && node app.js', { cwd: './scripts/shared-hugo-scripts/wiki/' }, function (err, stdout, stderr) {
callback(err); callback(err);
}); });
}); });