Commit fd21db94 authored by Devon Carew's avatar Devon Carew

add a changelog

parent 987ce972
......@@ -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).
......@@ -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');
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment