Skip to content

Commit

Permalink
Add LICENSE and CONTRIBUTING, update README (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Smiley authored Feb 26, 2017
1 parent 3be66b8 commit 5e3238f
Show file tree
Hide file tree
Showing 11 changed files with 51 additions and 6 deletions.
14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## Code of conduct

This project is governed by [Lyft's code of
conduct](https://github.com/lyft/code-of-conduct). All contributors and
participants agree to abide by its terms.

## Contributing

1. Fork the repo.
1. Make your changes
1. Add an entry to the `CHANGELOG.md`
1. Sign our [Contributor License Agreement
(CLA)](https://oss.lyft.com/cla)
1. Push to your fork and submit a pull request!
13 changes: 13 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2017 Lyft Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
EXECUTABLE = set-simulator-location
ARCHIVE = $(EXECUTABLE).tar.gz
PREFIX ?= /usr/local/bin
SRCS = $(wildcard Sources/*.swift)
SRCS = $(wildcard sources/*.swift)

$(EXECUTABLE): $(SRCS)
swiftc \
Expand Down
28 changes: 23 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,24 @@
# ios-simulator-location
# set-simulator-location

This is a small tool to allow you to set the location on the iOS
simulator from the command line. It is intended for use with automation
tests or in other places where we can't just change the location from
the menu.
This is a simple CLI for easily setting the location of the currently
running iOS Simulator.

## Usage

Set a specific latitude and longitude:

```sh
$ set-simulator-location -c 37.7765 -122.3918
```

Or using place search:

```sh
$ set-simulator-location -q Lyft HQ San Francisco
```

## Installation

```sh
$ brew install lyft/formulae/set-simulator-location
```
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 5e3238f

Please sign in to comment.