mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
53 lines
1.1 KiB
Markdown
53 lines
1.1 KiB
Markdown
# tools
|
|
|
|
[](https://travis-ci.org/flutter/tools)
|
|
[](https://ci.appveyor.com/project/devoncarew/tools/branch/master)
|
|
[](https://pub.dartlang.org/packages/sky_tools)
|
|
|
|
Tools for building Flutter applications.
|
|
|
|
## Installing
|
|
|
|
To install, run:
|
|
|
|
pub global activate sky_tools
|
|
|
|
or, depend on this package in your pubspec:
|
|
|
|
```yaml
|
|
dev_dependencies:
|
|
sky_tools: any
|
|
```
|
|
|
|
## Running sky_tools
|
|
|
|
Run `sky_tools` (or `pub global run sky_tools`) to see a list of available
|
|
commands:
|
|
|
|
- `init` to create a new project
|
|
|
|
Then, run a `sky_tools` command:
|
|
|
|
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/flutter/tools/issues).
|