Skip to content

ethindp/Stopwatch

Repository files navigation

Stopwatch

A portable stopwatch written using .NET Core

Build requirements

Windows

Mac OS X

Note: you will not be able to install InnoSetup or Cygwin on this platform. Software installation programs will not be buildable.

Linux

Note: you will not be able to install InnoSetup or Cygwin on this platform. Software installation programs will not be buildable.

Building

Building the stopwatch itself

  • Open a BASH shell (using cygwin (Windows) or Terminal (Mac OS X/Linux))
  • Navigate to the directory where you wish to clone this repository (or, if this repository has already been cloned, navigate to the directory where it has been cloned)
  • Ensure that the dotnet tools are in your PATH environment variable and that they are usable (try compiling a new project (dotnet new console and then dotnet build inside the project folder)).
  • If dotnet is usable and is ready, re-navigate back to this repository's folder in your file system and run ./build.sh.

Building the installers

Note: Only for windows hosts!

  • Open the setupfiles folder.
  • Click on one of the .iss files to open it in InnoSetup or InnoSetup Studio.
  • Go to the project menu and click 'compile'.

Running the stopwatch

Go to bin\release\netcoreapp<ncaver>\<target> (or, if you published the build, navigate to bin\release\netcoreapp<ncaver>\<target>\publish) and click on stopwatch.exe, where <ncaver> is the .NET Core App version (like 1.1 or 1.0) and <target> is one of the RIDs available at https://docs.microsoft.com/en-us/dotnet/articles/core/rid-catalog.

Contributing

If you'd like to contribute, simply send me a pull request and I'll add it. (Your pull request should be something useful, like fixing a bug, adding a new feature, etc. Useless code (like malicious code) will not be excepted.)

Have fun with the Stopwatch!

About

A portable stopwatch written using .NET Core

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published