Mercurial Hosting > luan
view examples/blog/src/private/tools/lucene.html.luan @ 1648:224af797b1f9
Mainly small install script improvements
- Consistent usage of `$LUANHOME`, removed reliance on current directory.
- Made Luan build and install fine (on Linux) without requiring launching it via sudo. Only asks to elevate privileges if installation failed.
- Minor spelling mistake fix.
author | Fox |
---|---|
date | Mon, 28 Mar 2022 18:00:12 +0200 |
parents | 82415c9c0015 |
children |
line wrap: on
line source
local Luan = require "luan:Luan.luan" local error = Luan.error local Web_search = require "luan:lucene/Web_search.luan" local Db = require "site:/lib/Db.luan" return Web_search.of(Db)