Skip to content

Commit

Permalink
build: add comment and force deletion of CLI files
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Sep 23, 2023
1 parent 0244455 commit 4e3cc6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/node_modules/@stdlib/_tools/scripts/publish_packages.js
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ function publish( pkg, clbk ) {
delete pkgJSON.bin;

// Delete files:
command = 'rm -rf ./bin/cli && rm test/test.cli.js && rm etc/cli_opts.json && rm docs/usage.txt';
command = 'rm -rf ./bin/cli test/test.cli.js etc/cli_opts.json docs/usage.txt';
shell( command, opts );

// Remove CLI section:
Expand Down Expand Up @@ -1434,6 +1434,7 @@ function main() {
console.log( 'Publishing %d `stdlib` packages...', pkgs.length );
idx = 0;
pkg = pkgs[ idx ];
console.log( 'Starting by processing the following package: %s', pkg );

cleanCache();

Expand Down

0 comments on commit 4e3cc6d

Please sign in to comment.