Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit b2198c6

Browse files
committed
Don't start quic-agent by default.
1 parent b249381 commit b2198c6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/pack.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ const originCwd = cwd();
4040
const osScript = path.join(rootDir, 'scripts/detectOS.sh');
4141
const osType = execSync(`bash ${osScript}`).toString().toLowerCase();
4242

43+
const experimentalTargets = ['quic-agent'];
44+
4345
var allTargets = [];
4446

4547
if (options.full) {
@@ -132,7 +134,7 @@ function getPackList(targets) {
132134

133135
var packList = targets.filter((element) => {
134136
// Don't include QUIC agent by default until CI is added for QUIC SDK.
135-
if (options.target.includes('all') && element.rules.name !== 'quic-agent') return true;
137+
if (options.target.includes('all') && !experimentalTargets.includes(element.rules.name)) return true;
136138
return options.target.includes(element.rules.name);
137139
});
138140
if (packList.length === 0) {
@@ -599,6 +601,9 @@ function packScripts() {
599601
}
600602
scriptItems.push('app');
601603
scriptItems.forEach((m) => {
604+
if (experimentalTargets.includes(m)) {
605+
return;
606+
}
602607
startCommands += '${bin}/daemon.sh start ' + m + ' $1\n';
603608
stopCommands += '${bin}/daemon.sh stop ' + m + '\n';
604609
});

0 commit comments

Comments
 (0)