Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added a new publish script for the s3 / libv8 tarball

  • Loading branch information...
commit ab3ace5237ee9228f6652d4795c220c9209b8c1f 1 parent fb2475e
@marshall marshall authored
Showing with 21 additions and 2 deletions.
  1. +0 −2  build_v8.sh
  2. +21 −0 publish_v8.sh
View
2  build_v8.sh
@@ -7,8 +7,6 @@
#
# Build and bundling script for v8 / NDK toolchain
-# set this to the where the NDK is installed
-
usage()
{
cat <<EOF
View
21 publish_v8.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# Appcelerator Titanium Mobile
+# Copyright (c) 2011 by Appcelerator, Inc. All Rights Reserved.
+# Licensed under the terms of the Apache Public License
+# Please see the LICENSE included with this distribution for details.
+#
+# Uploads a libv8 tarball to S3.
+# Requires s3cmd, which must be setup using s3cmd --configure
+
+LIBV8=$1
+
+if [ "$LIBV8" = "" ]; then
+ echo "Usage: $0 build/libv8-<version>.tar.bz2"
+ exit 1
+fi
+
+echo "Uploading $LIBV8..."
+
+BASENAME=$(basename "$LIBV8")
+s3cmd put --acl-public --guess-mime-type $LIBV8 s3://timobile.appcelerator.com/libv8/$BASENAME
Please sign in to comment.
Something went wrong with that request. Please try again.