Skip to content

Transform glob entries into paths #1716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 2 additions & 1 deletion NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ under the licensing terms detailed in LICENSE:
* Piotr Oleś <[email protected]>
* Saúl Cabrera <[email protected]>
* Chance Snow <[email protected]>
* Jerry Green <[email protected]>
* Peter Salomonsen <[email protected]>

Portions of this software are derived from third-party works licensed under
Expand All @@ -59,6 +60,6 @@ the following terms:
The 3-Clause BSD License (https://opensource.org/licenses/BSD-3-Clause)

* Arm Optimized Routines: https://github.com/ARM-software/optimized-routines

Copyright (c) Arm Limited
The MIT License (https://opensource.org/licenses/MIT)
4 changes: 3 additions & 1 deletion cli/asc.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
const fs = require("fs");
const path = require("path");
const process = require("process"); // ensure shim
const globby = require("globby");

process.exit = ((exit) => function(code) {
if (code) console.log(new Error("exit " + code.toString()).stack);
Expand Down Expand Up @@ -367,7 +368,8 @@ exports.main = function main(argv, options, callback) {

// Append entries
if (asconfig.entries) {
for (let entry of asconfig.entries) {
const paths = globby.sync(asconfig.entries);
for (let entry of paths) {
argv.push(optionsUtil.resolvePath(entry, asconfigDir));
}
}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
},
"dependencies": {
"binaryen": "100.0.0",
"globby": "11.0.2",
"long": "^4.0.0",
"source-map-support": "^0.5.19",
"ts-node": "^6.2.0"
Expand Down