Skip to content

Commit 2741e43

Browse files
committed
Update gulp scripts to v4
1 parent 20bcc90 commit 2741e43

File tree

4 files changed

+473
-416
lines changed

4 files changed

+473
-416
lines changed

src/gitattributes.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
</ItemGroup>
1616

1717
<Target Name="PrepublishScript" BeforeTargets="PrepareForPublish">
18-
<Exec Command="npm install" />
19-
<Exec Command="gulp build" />
18+
<Exec Command="npm ci" />
19+
<Exec Command="npm run build" />
2020
</Target>
2121

2222
<ItemGroup>

src/gulpfile.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,7 @@ function copy() {
1818
};
1919

2020
const build = gulp.series(clean, copy);
21-
gulp.task('build', build);
22-
gulp.task('default', build);
21+
22+
exports.build = build;
23+
exports.clean = clean;
24+
exports.default = build;

0 commit comments

Comments
 (0)