Closed jonlandrum closed 1 year ago
@jonlandrum
I have created the manifest file of scoop installer for Expect.Lua Now, you can install Expect.Lua as below.
scoop install https://raw.githubusercontent.com/hymkor/expect/master/expect.json
After a few version-up and if no problems are found, I will make the pull-request to add the Expect's entry into https://github.com/ScoopInstaller/Main .
I will reinstall via this method to test it in addition to what testing you've done.
Installing manually works as expected:
C:\Users\jonlandrum〉scoop install https://raw.githubusercontent.com/hymkor/expect/master/expect-lua.json
Installing 'expect-lua' (0.10.0) [64bit]
expect-v0.10.0-amd64.zip (1.2 MB) [=====================================================================] 100%
Checking hash of expect-v0.10.0-amd64.zip ... ok.
Extracting expect-v0.10.0-amd64.zip ... done.
Linking ~\scoop\apps\expect-lua\current => ~\scoop\apps\expect-lua\0.10.0
Creating shim for 'expect'.
'expect-lua' (0.10.0) was installed successfully!
C:\Users\jonlandrum〉which expect
╭───┬────────┬────────────────────────────────────────────┬──────────╮
│ # │ arg │ path │ built-in │
├───┼────────┼────────────────────────────────────────────┼──────────┤
│ 0 │ expect │ C:\Users\jonlandrum\scoop\shims\expect.EXE │ false │
╰───┴────────┴────────────────────────────────────────────┴──────────╯
Confirmation that the new version is targeted:
C:\Users\jonlandrum\opt\expect-bak〉.\expect.exe
expect.lua for Windows v0.6.2
Usage: .\expect.exe xxxx.lua
C:\Users\jonlandrum\opt\expect-bak〉expect
Expect-lua v0.10.0-windows-amd64
Usage: C:\Users\jonlandrum\scoop\apps\expect-lua\current\expect.exe xxxx.lua
Confirmation that the new version works as expected:
C:\Users\jonlandrum\src\repo〉[[[script calling expect]]]
Expect-lua v0.10.0-windows-amd64
...
It would be nice to be able to automatically install and uninstall Expect using a preferred package manager, such as Scoop or Chocolatey. Information regarding contributing to these:
I don't know if Expect can run as a self-contained executable or not, but there are options (at least with Scoop, there are) for installing system-wide to the
C:\
drive, if that's a requirement.