Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
fd21db94
Commit
fd21db94
authored
Aug 08, 2015
by
Devon Carew
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add a changelog
parent
987ce972
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
55 additions
and
1 deletion
+55
-1
README.md
packages/flutter_tools/README.md
+45
-0
build_sky_apk.dart
packages/flutter_tools/bin/build_sky_apk.dart
+7
-0
sky_server.dart
packages/flutter_tools/bin/sky_server.dart
+3
-1
No files found.
packages/flutter_tools/README.md
View file @
fd21db94
...
...
@@ -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
)
.
packages/flutter_tools/bin/build_sky_apk.dart
View file @
fd21db94
...
...
@@ -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'
);
...
...
packages/flutter_tools/bin/sky_server.dart
View file @
fd21db94
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment