Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
albho committed Feb 2, 2024
1 parent 519733a commit 7f26345
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions binding/nodejs/copy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// Copyright 2024 Picovoice Inc.
//
// You may not use this file except in compliance with the license. A copy of the license is located in the "LICENSE"
// file accompanying this source.
//
// Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on
// an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
// specific language governing permissions and limitations under the License.
//
'use strict';

const ncp = require('ncp').ncp;

console.log('Copying library files...');

ncp('../../lib/node', './lib', function (err) {
if (err) {
return console.error(err);
}
console.log('../../lib/node copied.');
});

0 comments on commit 7f26345

Please sign in to comment.