palabra 2.3.3 → 2.4.0
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/ChangeLog +10 -0
- package/letras/oxker/oxker.json +9 -0
- package/lib/parser/parser.js +3 -3
- package/package.json +1 -1
package/ChangeLog
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oxker",
|
|
3
|
+
"version": "0.13.1",
|
|
4
|
+
"url": "https://github.com/mrjackwills/oxker/releases/download/v{{ version }}/oxker_linux_x86_64.tar.gz",
|
|
5
|
+
"bin": "{{ name }}",
|
|
6
|
+
"commands": [
|
|
7
|
+
"mv {{ directorio }}/{{ name }} {{ directorio }}/{{ name }}/{{ name }}"
|
|
8
|
+
]
|
|
9
|
+
}
|
package/lib/parser/parser.js
CHANGED
|
@@ -83,6 +83,9 @@ export const parse = (letra) => {
|
|
|
83
83
|
envLine,
|
|
84
84
|
}));
|
|
85
85
|
|
|
86
|
+
if (letra.executable && isString(bin))
|
|
87
|
+
commands.push(`chmod +x ${rendy(join(directorio, name, bin), letra)}`);
|
|
88
|
+
|
|
86
89
|
if (test)
|
|
87
90
|
for (const testCommand of maybeArray(test)) {
|
|
88
91
|
const cmd = rendy(testCommand, letra);
|
|
@@ -120,9 +123,6 @@ function createSymlinks(letra) {
|
|
|
120
123
|
const binFrom = rendy(join(directorio, from), letra);
|
|
121
124
|
const binTo = join(binDir, name);
|
|
122
125
|
|
|
123
|
-
if (letra.executable)
|
|
124
|
-
commands.push(`chmod +x ${binFrom}`);
|
|
125
|
-
|
|
126
126
|
commands.push(`ln -fs ${binFrom} ${binTo}`);
|
|
127
127
|
}
|
|
128
128
|
|