Stopwatch is command line application and library for time tracking.
- macOS 10.9+
Linux support is in the works.
- Swift 4.0+
- Xcode 9.0+ (optional)
Download precompiled binary file from releases.
Build from source
Clone the repository
$ git clone email@example.com:matejkosiarcik/Stopwatch.git
or download repository manually as
.zip file and unzip it.
Navigate to project root
$ cd Stopwatch and run
$ swift build -c release.
Your resulting binary can be found at
Run the binary
App prints controls at start, e.g (
space to pause).
Laps are reported in format:
(from first start) : (from last recorded lap),
If you are experiencing troubles, see help page with
$ ./swatch -h or
$ ./swatch --help.
To test the swift part of project, just run
$ swift test in project root.
To test whole project including swift, shell and other sources, run
$ ./Utils/test in project root.
Not all parts of the app are testable, so always make sure the resulting executable runs correctly.
This project is licensed under the MIT License, see LICENSE.txt file for full license details.
Help us keep the lights on
v0.2.2 - Dec 29, 2017
- Possible to exit with 'Q'
- Using termios feature no-ECHO to disable echoing input characters to terminal
- Simplified codebase
- Supplied library for external use
v0.2.1 - Dec 12, 2017
- dependecies (Result to 3.2.4)
- compatibility with latest swift compiler (4.0.3)
v0.2.0 - Aug 5, 2017
- macOS 10.9+ compatibility (previously 10.10+)
- basic documentation
- Repository name
- Legal info
v0.1.0 - Jul 31, 2017
Compatible with macOS 10.10+