add a changelog

This commit is contained in:
Devon Carew 2015-08-08 04:05:32 -07:00
parent 987ce972d6
commit fd21db9436
3 changed files with 55 additions and 1 deletions

View File

@ -3,3 +3,48 @@
[![Build Status](https://travis-ci.org/domokit/sky_tools.svg)](https://travis-ci.org/domokit/sky_tools)
Tools for building Sky applications.
## Installing
To install, run:
pub global activate sky_tools
or, depend on this package in your pubspec:
```yaml
dependencies:
sky_tools: any
```
## Running sky_tools
Run `sky_tools` (or `pub global run sky_tools`) to see a list of available
commands.
- *init*: create a new project
Then run a sky_tools command, like `init`:
sky_tools init --out my_sky_project
## Running sky_tools:sky_server
To serve the current directory using `sky_server`:
pub run sky_tools:sky_server [-v] PORT
## Running sky_tools:build_sky_apk
```
usage: pub run sky_tools:build_sky_apk <options>
-h, --help
--android-sdk
--skyx
```
## Filing Issues
Please file reports on the
[GitHub Issue Tracker](https://github.com/domokit/sky_tools/issues).

View File

@ -93,6 +93,13 @@ main(List<String> argv) async {
ArgResults args = parser.parse(argv);
if (args['help']) {
print('usage: pub run sky_tools:build_sky_apk <options>');
print('');
print(parser.usage);
return;
}
Directory artifacts = new Directory('artifacts');
File keystore = new File('${artifacts.path}/chromium-debug.keystore');
File androidManifest = new File('${artifacts.path}/AndroidManifest.xml');

View File

@ -70,9 +70,11 @@ main(List<String> argv) async {
HttpServer server;
try {
server = await io.serve(handler, InternetAddress.LOOPBACK_IP_V4, port);
print('Serving ${Directory.current.absolute.path} from '
'http://${server.address.address}:${server.port}.');
} catch(e) {
print(e);
return;
exit(1);
}
server.defaultResponseHeaders