GitXplorerGitXplorer
n

Chores

public
74 stars
6 forks
2 issues

Commits

List of commits on branch master.
Unverified
2ed08dcfcc625155973ac6aaac73c47d6ffedadb

Add "no maintenance" badge

nneonichu committed 8 years ago
Unverified
8e8a966a74fa42fb74aa6e29854cf9b47cb3915e

Merge pull request #9 from neonichu/update-travis-to-xcode7.2

nneonichu committed 9 years ago
Unverified
dbb91bff903d33d687c2de3df557ae7e7b617e02

Update Travis to xcode7.2

nneonichu committed 9 years ago
Unverified
fa6cb10bc7a0a79110817a2246e1e131349e4c5b

Merge pull request #7 from neonichu/support-swift-pm

nneonichu committed 9 years ago
Unverified
be15e24644de8ea76a1fe0ff4ffdb62cb1ea2f4c

Support chswift

nneonichu committed 9 years ago
Unverified
793761e8b0bb69a5ceaecd76631996cb383a5c56

Fix tests to use `Sources` directory

nneonichu committed 9 years ago

README

The README file for this repository.

Chores

No Maintenance Intended Version License Platform Build Status

A library for simplifying task execution in Swift.

Usage

Use the > custom operator to execute commands:

let result = >"true"
print(result.result) // 0
print(result.stdout) // ""

You can also create pipes using '|' custom operator:

let result = >"ls"|["grep", ".md$"]
print(result.stdout) // "README.md"

And pipe commands into a closure:

let result = >["ls", "README.md"]|{ String(count($0)) }
print(result.stdout) // "9"

Unit Tests

The tests require xctester, install it via Homebrew:

$ brew tap neonichu/formulae
$ brew install xctester

and run the tests:

$ make test