Initial project import
This commit is contained in:
commit
d189bb22f4
19 files changed
+361
No files matched your search
@@ -0,0 +1,3 @@
|
||||
# Agila application template
|
||||
|
||||
Copy this folder, choose a reverse-domain application id, and build only against documented APIs in `sdk/agila`.
|
||||
@@ -0,0 +1,15 @@
|
||||
import agila
|
||||
|
||||
fn main() {
|
||||
mut app := agila.new_app('dev.example.hello', 'Hello Agila') or {
|
||||
eprintln(err.msg())
|
||||
return
|
||||
}
|
||||
app.start() or {
|
||||
eprintln(err.msg())
|
||||
return
|
||||
}
|
||||
app.request(.ui) or { eprintln(err.msg()) }
|
||||
agila.log('Hello from a third-party Agila application!')
|
||||
app.stop()
|
||||
}
|
||||
Reference in new issue
Block a user