textrun-make 0.0.13 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/command.js +1 -1
- package/dist/actions/target.js +1 -1
- package/package.json +10 -12
package/dist/actions/command.js
CHANGED
|
@@ -20,7 +20,7 @@ async function command(action) {
|
|
|
20
20
|
}
|
|
21
21
|
const makefilePath = action.configuration.sourceDir.joinStr(action.location.file.directory().platformified(), action.region[0].attributes["dir"] || ".", "Makefile");
|
|
22
22
|
const makefileContent = await fs_1.promises.readFile(makefilePath, "utf8");
|
|
23
|
-
const haves = makefile_targets_1.makefileTargets(makefileContent);
|
|
23
|
+
const haves = (0, makefile_targets_1.makefileTargets)(makefileContent);
|
|
24
24
|
for (const want of wants) {
|
|
25
25
|
if (!haves.includes(want)) {
|
|
26
26
|
throw new Error(`Makefile does not contain command make ${color.cyan(want)} but these targets: ${color.cyan(haves.join(", "))}`);
|
package/dist/actions/target.js
CHANGED
|
@@ -13,7 +13,7 @@ async function target(action) {
|
|
|
13
13
|
action.name(`make target ${color.cyan(target)}`);
|
|
14
14
|
const makePath = action.configuration.sourceDir.joinStr(action.region[0].attributes["dir"] || ".", "Makefile");
|
|
15
15
|
const makefile = await fs_1.promises.readFile(makePath, "utf8");
|
|
16
|
-
const targets = makefile_targets_1.makefileTargets(makefile);
|
|
16
|
+
const targets = (0, makefile_targets_1.makefileTargets)(makefile);
|
|
17
17
|
if (!targets.includes(target)) {
|
|
18
18
|
throw new Error(`Makefile does not contain target ${color.cyan(target)} but these ones: ${color.cyan(targets.join(", "))}`);
|
|
19
19
|
}
|
package/package.json
CHANGED
|
@@ -1,24 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "textrun-make",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"main": "dist/index.js",
|
|
3
|
+
"version": "0.1.2",
|
|
5
4
|
"license": "ISC",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist/**/*.js"
|
|
8
8
|
],
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"
|
|
10
|
+
"colorette": "2.0.19",
|
|
11
|
+
"text-runner-core": "^5.0.2"
|
|
11
12
|
},
|
|
12
13
|
"devDependencies": {
|
|
13
|
-
"colorette": "1.2.1",
|
|
14
|
-
"cucumber": "6.0.5",
|
|
15
|
-
"mocha": "8.0.1",
|
|
16
14
|
"shared-cucumber-steps": "0.0.0",
|
|
17
|
-
"text-runner": "5.0.
|
|
18
|
-
"textrun-action": "0.
|
|
19
|
-
"textrun-extension": "0.
|
|
20
|
-
"textrun-npm": "0.
|
|
21
|
-
"textrun-workspace": "0.
|
|
15
|
+
"text-runner": "^5.0.2",
|
|
16
|
+
"textrun-action": "^0.1.2",
|
|
17
|
+
"textrun-extension": "^0.1.2",
|
|
18
|
+
"textrun-npm": "^0.1.2",
|
|
19
|
+
"textrun-workspace": "^0.1.2"
|
|
22
20
|
},
|
|
23
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "1dca29620ef3189c64a62d706ded97c9b99deda3"
|
|
24
22
|
}
|