changeset 774:3e30cf310e56

change download to use bitbucket
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 26 Aug 2016 03:15:41 -0600
parents 47add8eeb513
children 1a68fc55a80c
files README.md core/src/luan/cmd_line.luan scripts/build-luan.sh website/src/index.html.luan
diffstat 4 files changed, 4 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
diff -r 47add8eeb513 -r 3e30cf310e56 README.md
--- a/README.md	Tue Aug 23 20:02:50 2016 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-# Download #
-
-Download the latest TAR file
-
-[https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0](https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0)
\ No newline at end of file
diff -r 47add8eeb513 -r 3e30cf310e56 core/src/luan/cmd_line.luan
--- a/core/src/luan/cmd_line.luan	Tue Aug 23 20:02:50 2016 -0600
+++ b/core/src/luan/cmd_line.luan	Fri Aug 26 03:15:41 2016 -0600
@@ -10,7 +10,7 @@
 
 local args = {...}
 if #args == 0 then
-	print(Luan.VERSION)
+	print("Luan "..Luan.VERSION)
 	Io.debug("> ")
 else
 	local file = args[1]
diff -r 47add8eeb513 -r 3e30cf310e56 scripts/build-luan.sh
--- a/scripts/build-luan.sh	Tue Aug 23 20:02:50 2016 -0600
+++ b/scripts/build-luan.sh	Fri Aug 26 03:15:41 2016 -0600
@@ -13,7 +13,7 @@
 mkdir $LUAN_BUILD/luan/jars
 
 cd $LUAN_HOME
-echo "return 'Luan $VERSION'" >core/src/luan/version.luan
+echo "return '$VERSION'" >core/src/luan/version.luan
 find . -name *.class -delete
 
 cd $LUAN_HOME
diff -r 47add8eeb513 -r 3e30cf310e56 website/src/index.html.luan
--- a/website/src/index.html.luan	Tue Aug 23 20:02:50 2016 -0600
+++ b/website/src/index.html.luan	Fri Aug 26 03:15:41 2016 -0600
@@ -1,3 +1,4 @@
+local Luan = require "luan:Luan.luan"
 local Io = require "luan:Io.luan"
 local Http = require "luan:http/Http.luan"
 
@@ -30,7 +31,7 @@
 			<div uc>under construction...</div>
 			<div intro>Luan is a <a href="http://www.lua.org">Lua</a>-like language implemented in <a href="https://www.oracle.com/java/">Java</a>.</div>
 			<div link><a href="docs.html">Documentation</a></div>
-			<div link><a href="https://www.dropbox.com/sh/i7imf67wzj7z3h2/AABrpM0L1apqHysb_ot5t2dla?dl=0">Download</a></div>
+			<div link><a href="https://bitbucket.org/frschmidt/luan/downloads/luan-<%=Luan.VERSION%>.tar">Download</a></div>
 			<div link><a href="https://bitbucket.org/frschmidt/luan">Source</a></div>
 			<div link><a href="http://luan.7479.n7.nabble.com/">Forum</a></div>
 		</div>