Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

added a new publish script for the s3 / libv8 tarball

  • Loading branch information...
commit ab3ace5237ee9228f6652d4795c220c9209b8c1f 1 parent fb2475e
Marshall Culpepper authored September 10, 2011

Showing 2 changed files with 21 additions and 2 deletions. Show diff stats Hide diff stats

  1. 2  build_v8.sh
  2. 21  publish_v8.sh
2  build_v8.sh
@@ -7,8 +7,6 @@
7 7
 #
8 8
 # Build and bundling script for v8 / NDK toolchain
9 9
 
10  
-# set this to the where the NDK is installed
11  
-
12 10
 usage()
13 11
 {
14 12
 cat <<EOF
21  publish_v8.sh
... ...
@@ -0,0 +1,21 @@
  1
+#!/bin/sh
  2
+#
  3
+# Appcelerator Titanium Mobile
  4
+# Copyright (c) 2011 by Appcelerator, Inc. All Rights Reserved.
  5
+# Licensed under the terms of the Apache Public License
  6
+# Please see the LICENSE included with this distribution for details.
  7
+#
  8
+# Uploads a libv8 tarball to S3.
  9
+# Requires s3cmd, which must be setup using s3cmd --configure
  10
+
  11
+LIBV8=$1
  12
+
  13
+if [ "$LIBV8" = "" ]; then
  14
+	echo "Usage: $0 build/libv8-<version>.tar.bz2"
  15
+	exit 1
  16
+fi
  17
+
  18
+echo "Uploading $LIBV8..."
  19
+
  20
+BASENAME=$(basename "$LIBV8")
  21
+s3cmd put --acl-public --guess-mime-type $LIBV8 s3://timobile.appcelerator.com/libv8/$BASENAME

0 notes on commit ab3ace5

Please sign in to comment.
Something went wrong with that request. Please try again.