提交 652f90f2 authored 作者: Iñaki Baz Castillo's avatar Iñaki Baz Castillo

Also migrate worker/scripts/gulpfile.js to ES module

上级 313d1f86
......@@ -361,7 +361,7 @@ function lintNode()
{
logInfo('lintNode()');
executeCmd('eslint -c node/.eslintrc.js --max-warnings 0 node/src node/.eslintrc.js npm-scripts.mjs worker/scripts/gulpfile.js');
executeCmd('eslint -c node/.eslintrc.js --max-warnings 0 node/src node/.eslintrc.js npm-scripts.mjs worker/scripts/gulpfile.mjs');
}
function lintWorker()
......
......@@ -208,10 +208,10 @@ xcode: setup
$(MESON) setup --buildtype debug --backend xcode $(MEDIASOUP_OUT_DIR)/xcode
lint:
$(GULP) --gulpfile ./scripts/gulpfile.js lint:worker
$(GULP) --gulpfile ./scripts/gulpfile.mjs lint:worker
format:
$(GULP) --gulpfile ./scripts/gulpfile.js format:worker
$(GULP) --gulpfile ./scripts/gulpfile.mjs format:worker
test: setup
$(MESON) compile -C $(BUILD_DIR) -j $(CORES) mediasoup-worker-test
......
const gulp = require('gulp');
const clangFormat = require('gulp-clang-format');
import gulp from 'gulp';
import clangFormat from 'gulp-clang-format';
const workerFiles =
[
......
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论