Mercurial Hosting > luan
comparison blog/src/private/tools/backup.luan @ 693:ca169567ce07
module URIs must now include ".luan"
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Tue, 19 Apr 2016 15:54:11 -0600 |
parents | cb6c628de583 |
children | 558740169005 |
comparison
equal
deleted
inserted
replaced
692:7bd97d642f37 | 693:ca169567ce07 |
---|---|
1 local Io = require "luan:Io" | 1 local Io = require "luan:Io.luan" |
2 local Http = require "luan:http/Http" | 2 local Http = require "luan:http/Http.luan" |
3 local Db = require "site:/lib/Db" | 3 local Db = require "site:/lib/Db.luan" |
4 | 4 |
5 | 5 |
6 return function() | 6 return function() |
7 local backup = Io.uri "site:/private/local/backup.zip" | 7 local backup = Io.uri "site:/private/local/backup.zip" |
8 backup.delete() | 8 backup.delete() |