Skip to content

Commit 24e5533

Browse files
committed
chore: fix line wrapping and generalize build script
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 551e531 commit 24e5533

File tree

3 files changed

+10
-7
lines changed

3 files changed

+10
-7
lines changed

lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumpw/docs/repl.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{{alias}}.main( N, alpha, x, strideX )
3-
Adds a scalar constant to each double-precision floating-point strided
4-
array element and computes the sum using pairwise summation.
3+
Adds a scalar constant to each double-precision floating-point strided array
4+
element and computes the sum using pairwise summation.
55

66
The `N` and stride parameters determine which elements in the strided array
77
are accessed at runtime.
@@ -425,8 +425,8 @@
425425

426426

427427
{{alias}}.Module.prototype.main( N, alpha, xp, sx )
428-
Adds a scalar constant to each double-precision floating-point strided
429-
array element and computes the sum using pairwise summation.
428+
Adds a scalar constant to each double-precision floating-point strided array
429+
element and computes the sum using pairwise summation.
430430

431431
Parameters
432432
----------
@@ -466,8 +466,8 @@
466466

467467
{{alias}}.Module.prototype.ndarray( N, alpha, xp, sx, ox )
468468
Adds a scalar constant to each double-precision floating-point strided
469-
array element and computes the sum using pairwise summation and
470-
alternative indexing semantics.
469+
array element and computes the sum using pairwise summation and alternative
470+
indexing semantics.
471471

472472
Parameters
473473
----------

lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumpw/scripts/build.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ var resolve = require( 'path' ).resolve;
2626
var readFile = require( '@stdlib/fs/read-file' ).sync;
2727
var writeFile = require( '@stdlib/fs/write-file' ).sync;
2828
var replace = require( '@stdlib/string/replace' );
29+
var currentYear = require( '@stdlib/time/current-year' );
2930

3031

3132
// VARIABLES //
@@ -39,6 +40,7 @@ var opts = {
3940
};
4041

4142
var PLACEHOLDER = '{{WASM_BASE64}}';
43+
var YEAR = '{{YEAR}}';
4244

4345

4446
// MAIN //
@@ -55,6 +57,7 @@ function main() {
5557
wasm = readFile( wpath );
5658
tmpl = readFile( tpath, opts );
5759

60+
tmpl = replace( tmpl, YEAR, currentYear().toString() );
5861
tmpl = replace( tmpl, PLACEHOLDER, wasm.toString( 'base64' ) );
5962

6063
writeFile( opath, tmpl, opts );

lib/node_modules/@stdlib/blas/ext/base/wasm/dapxsumpw/scripts/template.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2025 The Stdlib Authors.
4+
* Copyright (c) {{YEAR}} The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)