Skip to content

SauceChord/srcpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

srcpack

Running tests with busted (on Windows)

  • Open a Terminal
  • Run busted
  • If busted cannot be found you have to install it (see below)
  • If busted show garbage characters
    • Run chcp 65001 to change code page to Utf-8
    • Run busted

As of current writing I have been unable to install busted without the use of scoop.sh

1. Installing scoop.sh via Powershell

  • Open Powershell
  • Run Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
  • Choose yes y
  • Run irm get.scoop.sh | iex

2. Installing luarocks via scoop

  • Run scoop install luarocks

3. Installing x86_64-w64-mingw32-gcc via Cygwin

  • Run x86_64-w64-mingw32-gcc --version
  • If this doesn't show version output, x86_64-w64-mingw32-gcc has to be installed.
    • Install Cygwin with mingw64-x86_64-gcc-core package.
    • Add Cygwins bin folder to PATH (eg: C:/cygwin64/bin)
    • Restart Powershell
    • Run x86_64-w64-mingw32-gcc --version from C:/ (or any other location than the bin folder)
      • If this fails, something went wrong during installation
      • Did you add the mingw64-x86_64-gcc-core package?
      • Did you add the bin folder to PATH system environment variable?
      • Did you restart Powershell?

4. Installing busted via luarocks

  • Run luarocks install busted
  • You should now be able to run the tests.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages