Skip to content

Commit f3f21a9

Browse files
authored
Merge pull request #22 from scottrhoyt/develop
Develop
2 parents fe4e344 + 0338189 commit f3f21a9

File tree

2 files changed

+20
-24
lines changed

2 files changed

+20
-24
lines changed

Makefile

+4-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ SWIFT_URL=https://swift.org/builds/$(SWIFT_SNAPSHOT)/ubuntu1404/$(SWIFT_SNAPSHOT
66

77
export PATH := $(SWIFT_SNAPSHOT)-ubuntu14.04/usr/bin:$(PATH)
88

9-
.PHONY: uninstall clean test build install linux_swift
9+
.PHONY: bootstrap uninstall clean test build install linux_swift
10+
11+
bootstrap:
12+
carthage bootstrap --no-use-binaries --platform mac
1013

1114
uninstall:
1215
rm -rf "$(RESOURCES_FOLDER)"

README.md

+16-23
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
## Noonian
1+
# Noonian [![Build Status](https://travis-ci.org/scottrhoyt/Noonian.svg?branch=master)](https://travis-ci.org/scottrhoyt/Noonian) [![codecov](https://codecov.io/gh/scottrhoyt/Noonian/branch/master/graph/badge.svg)](https://codecov.io/gh/scottrhoyt/Noonian) ![Swift](https://img.shields.io/badge/Swift-3.0-orange.svg) ![SPM](https://img.shields.io/badge/SPM-Compatible-green.svg)
22

33
A tool for building Android apps. Inspired by [a man who had some success in
44
building androids](http://memory-alpha.wikia.com/wiki/Noonian_Soong).
55

6-
[![Build Status](https://travis-ci.org/scottrhoyt/Noonian.svg?branch=master)](https://travis-ci.org/scottrhoyt/Noonian)
7-
[![codecov](https://codecov.io/gh/scottrhoyt/Noonian/branch/master/graph/badge.svg)](https://codecov.io/gh/scottrhoyt/Noonian)
8-
![Swift](https://img.shields.io/badge/Swift-3.0-orange.svg)
9-
![SPM](https://img.shields.io/badge/SPM-Compatible-green.svg)
10-
11-
--------------
12-
13-
### Installation
6+
## Installation
147

158
* Clone or [Download the latest release](https://github.com/scottrhoyt/Noonian/releases)
169
* `cd Noonian`
@@ -21,7 +14,7 @@ building androids](http://memory-alpha.wikia.com/wiki/Noonian_Soong).
2114
using Ubuntu 14.04
2215
* Run `make install`
2316

24-
### Android SDK Requirements
17+
## Android SDK Requirements
2518

2619
* Java 7+ installed and set in `$JAVA_HOME`
2720
* `$ANDROID_HOME` is set to an Android SDK directory
@@ -30,14 +23,14 @@ building androids](http://memory-alpha.wikia.com/wiki/Noonian_Soong).
3023
* You have a valid Android debug key located at `~/.android/debug.keystore`
3124
* To install your app, you must have a simulator running
3225

33-
### Usage
26+
## Usage
3427

3528
Use `noonian help` and `noonian help <action>` to display command line help.
3629

3730
`init` can be run from any directory, but all other commands must be run from
3831
your project directory.
3932

40-
#### Initialize A Project
33+
### Initialize A Project
4134

4235
`noonian init <Project Name>`
4336

@@ -48,43 +41,43 @@ your project directory.
4841
* `--target <android api target>`
4942
* `--activity <name of activity to create>`
5043

51-
#### Build Your Project
44+
### Build Your Project
5245

5346
`noonian build`
5447

55-
#### Package, Sign, Zipalign APK
48+
### Package, Sign, Zipalign APK
5649

5750
`noonian package`
5851

59-
#### Install On Active simulator
52+
### Install On Active simulator
6053

6154
`noonian install`
6255

63-
#### Build, Package, and Install
56+
### Build, Package, and Install
6457

6558
`noonian all`
6659

67-
### Configuration
60+
## Configuration
6861

6962
Noonian is configured via a `.noonian.yml` file. `noonian init` will create a
7063
basic configuration file for you with the minimum necessary settings, but you
7164
can modify it to further suit your needs.
7265

73-
#### Project Settings
66+
### Project Settings
7467

7568
* `app_name: <app name>` specifies the name of your app for packaging and
7669
installation purposes.
7770
* `target: <target name>` specified which APIs to build against and package.
7871
* `build_tools: <tools version>` specifies which version of the SDK build tools
7972
to use.
8073

81-
#### Before/After
74+
### Before/After Commands
8275

8376
All actions other than `init` can be configured with shell commands to run
8477
before and after the action by using the `before_<action>` and `after_<action>`
8578
keys. The value can either be a single command or an array of commands.
8679

87-
#### Example Configuration
80+
### Example Configuration
8881

8982
```yaml
9083
## You can use comments to annotate your configuration
@@ -103,9 +96,9 @@ after_install:
10396
- echo we finished!
10497
```
10598
106-
### Troubleshooting
99+
## Troubleshooting
107100
108-
#### `make install` fails:
101+
### `make install` fails:
109102

110103
* Make sure you have Swift 3+ installed
111104
* **macOS**: via Xcode 8+ or a manually installed toolchain from swift.org
@@ -120,7 +113,7 @@ after_install:
120113
will be unable to create an initial configuration for you. You can manually
121114
copy `example.noonian.yml` to your project directory.
122115

123-
#### `noonian <action>` fails:
116+
### `noonian <action>` fails:
124117

125118
* Check `$ANDROID_HOME` is defined
126119
* Check `$JAVA_HOME` is defined

0 commit comments

Comments
 (0)