Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions node/make.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ target.build = function() {
cp(rp('ThirdPartyNotice.txt'), buildPath);
cp('-Rf', rp('Strings'), buildPath);
// just a bootstrap file to avoid /// in final js and .d.ts file
rm(path.join(buildPath, 'index.*'));
// Use force flag so build doesn't fail if files don't exist
rm('-f', path.join(buildPath, 'index.*'));
}

target.test = async function() {
Expand All @@ -44,7 +45,7 @@ target.test = async function() {
cp('-Rf', rp('test/fakeTasks'), testPath);
process.env['TASKLIB_INPROC_UNITS'] = '1'; // export task-lib internals for internal unit testing
set('+e'); // Don't throw an exception when tests fail
run('mocha ' + testPath);
run('npx mocha ' + testPath);
}

target.loc = function() {
Expand Down
Loading