mirror of
https://github.com/Minionguyjpro/Inno-Setup-Action
synced 2026-02-18 17:41:18 +01:00
Add eslint
This commit is contained in:
13
.eslintrc.json
Normal file
13
.eslintrc.json
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
{
|
||||||
|
"env": {
|
||||||
|
"es2021": true,
|
||||||
|
"node": true
|
||||||
|
},
|
||||||
|
"extends": "eslint:recommended",
|
||||||
|
"parserOptions": {
|
||||||
|
"ecmaVersion": "latest",
|
||||||
|
"sourceType": "module"
|
||||||
|
},
|
||||||
|
"rules": {
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -6,9 +6,12 @@ branding:
|
|||||||
description: 'GitHub action to compile .iss (Inno Setup Script) files.'
|
description: 'GitHub action to compile .iss (Inno Setup Script) files.'
|
||||||
|
|
||||||
inputs:
|
inputs:
|
||||||
path: # id of input
|
path:
|
||||||
description: 'Path to input .iss script file'
|
description: 'Path to input .iss script file'
|
||||||
required: true
|
required: true
|
||||||
|
options:
|
||||||
|
description: 'Extra arguments/options to include. Include the slashes for them.'
|
||||||
|
required: false
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: 'node16'
|
using: 'node16'
|
||||||
|
|||||||
2
dist/index.js
vendored
2
dist/index.js
vendored
@@ -7,7 +7,7 @@ const path = core.getInput('path');
|
|||||||
var exec = require('child_process').exec;
|
var exec = require('child_process').exec;
|
||||||
|
|
||||||
if (process.platform === 'win32') {
|
if (process.platform === 'win32') {
|
||||||
exec(`\"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe\" \"${path}\"`,
|
exec(`"%PROGRAMFILES(X86)%\\Inno Setup 6\\iscc.exe" "${path}"`,
|
||||||
function (error, stdout, stderr) {
|
function (error, stdout, stderr) {
|
||||||
console.log(stdout);
|
console.log(stdout);
|
||||||
console.log(stderr);
|
console.log(stderr);
|
||||||
|
|||||||
1083
node_modules/.package-lock.json
generated
vendored
1083
node_modules/.package-lock.json
generated
vendored
File diff suppressed because it is too large
Load Diff
1086
package-lock.json
generated
1086
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -13,5 +13,8 @@
|
|||||||
"@actions/core": "^1.10.0",
|
"@actions/core": "^1.10.0",
|
||||||
"@actions/github": "^5.1.1",
|
"@actions/github": "^5.1.1",
|
||||||
"node-cmd": "^5.0.0"
|
"node-cmd": "^5.0.0"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"eslint": "^8.44.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user