Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kareman/linuxmain-generator
A shell command to automatically add code to Swift Package Manager projects to run unit tests on Linux.
https://github.com/kareman/linuxmain-generator
command-line-tool linux swift-package-manager swift3 v
Last synced: about 1 month ago
JSON representation
A shell command to automatically add code to Swift Package Manager projects to run unit tests on Linux.
- Host: GitHub
- URL: https://github.com/kareman/linuxmain-generator
- Owner: kareman
- License: mit
- Created: 2017-03-14T18:46:08.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-16T21:05:14.000Z (over 7 years ago)
- Last Synced: 2024-10-14T10:14:47.252Z (3 months ago)
- Topics: command-line-tool, linux, swift-package-manager, swift3, v
- Language: Swift
- Size: 11.6 MB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
![Platforms](https://img.shields.io/badge/platforms-macOS%20%7C%20Linux-lightgrey.svg)
# linuxmain-generator
Automatically add code to Swift Package Manager projects to run unit tests on Linux.
```text
Usage: linuxmain-generator
-o,--overwrite:
Replace /LinuxMain.swift if it already exists.
--testdir :
The path to the directory with the unit tests. Default = 'Tests'.
:
The project root directory. Default = './'.
```_This project exists mainly to demonstrate the usage of the [FileSmith](https://github.com/kareman/FileSmith) and [Moderator](https://github.com/kareman/Moderator) projects. Check out [valeriomazzeo/linuxmain-generator](https://github.com/valeriomazzeo/linuxmain-generator) for more features._
## Installation
### Homebrew
```bash
brew install kareman/repo/linuxmain-generator
```### Manual
```bash
git clone https://github.com/kareman/linuxmain-generator
cd linuxmain-generator
swift build -c release
cp .build/release/linuxmain-generator /usr/local/bin/linuxmain-generator
```## License
Released under the MIT License (MIT), http://opensource.org/licenses/MIT
Kåre Morstøl, [NotTooBad Software](http://nottoobadsoftware.com)