Improve developer-facing READMEs

Also, stop pushing the SDK to sky_sdk now that this repo exists.
This commit is contained in:
Adam Barth
2015-07-18 12:22:30 -07:00
parent 1a4a90c14e
commit 02a3d1e484
4 changed files with 9 additions and 29 deletions

View File

@@ -1,5 +1,7 @@
Contributing to Sky Engine
==========================
Contributing to Sky
===================
[![Build Status](https://travis-ci.org/domokit/sky_engine.svg)](https://travis-ci.org/domokit/sky_engine)
Getting the code
----------------

View File

@@ -1,16 +1,14 @@
Sky
===
[![Build Status](https://travis-ci.org/domokit/sky_engine.svg)](https://travis-ci.org/domokit/sky_engine)
Sky is a new way to build high performance, cross platform mobile apps.
More specifically, Sky is a rendering engine, a scripting engine, an
(optional) framework, and a (optional) set of Material Design widgets.
Sky is optimized for today's, and tomorrow's, mobile devices. We are focused
on low-latency input, high frame rates, and we are purely mobile first.
For information about using the latest stable release of Sky, please
see the [Sky SDK README](sky/sdk/README.md).
- For information about using Sky to build apps, please see
[Getting Started with Sky](sky/sdk/README.md).
For information about contributing to Sky, please see
[CONTRIBUTING.md](CONTRIBUTING.md).
- For information about contributing to Sky, please see
[CONTRIBUTING.md](CONTRIBUTING.md).

View File

@@ -84,7 +84,6 @@ def main():
run(sky_engine_root, [
'sky/tools/deploy_sdk.py',
'--non-interactive',
'--commit',
sky_sdk_root
])
# tag for version?
@@ -104,4 +103,4 @@ def main():
if __name__ == '__main__':
sys.exit(main())
sys.exit(main())

View File

@@ -86,7 +86,6 @@ def main():
parser.add_argument('--build-dir', action='store', type=str,
default=os.path.join(SRC_ROOT, DEFAULT_REL_BUILD_DIR))
parser.add_argument('--non-interactive', action='store_true')
parser.add_argument('--commit', action='store_true')
args = parser.parse_args()
build_dir = os.path.abspath(args.build_dir)
@@ -95,8 +94,6 @@ def main():
print 'Building SDK from %s into %s' % (build_dir, sdk_root)
start_time = datetime.now()
should_commit = args.commit
def sdk_path(rel_path):
return os.path.join(sdk_root, rel_path)
@@ -120,22 +117,6 @@ def main():
subprocess.check_call([src_path('tools/licenses.py'), 'credits'],
stdout=license_file)
if should_commit:
# Kinda a hack to make a prettier build dir for the commit:
script_path = os.path.relpath(os.path.abspath(__file__), SRC_ROOT)
rel_build_dir = os.path.relpath(build_dir, SRC_ROOT)
revision = git_revision()
commit_url = "https://github.com/domokit/mojo/commit/%s" % revision
pattern = """Autogenerated from %s
Using %s and build output from %s.
"""
commit_message = pattern % (commit_url, script_path, rel_build_dir)
subprocess.check_call(['git', 'add', '.'], cwd=sdk_root)
subprocess.check_call([
'git', 'commit',
'-m', commit_message
], cwd=sdk_root)
time_delta = datetime.now() - start_time
print 'SDK built at %s in %ss' % (sdk_root, time_delta.total_seconds())