-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is on the wait as the waf plugin for Vala does not support Genie very well.
- Loading branch information
Showing
3 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[indent=2] | ||
init | ||
var app = new Valum.Router () | ||
|
||
app.get ("/", home) | ||
|
||
new VSGI.Soup.Server (app.handle).run () | ||
|
||
def home (req : VSGI.Request, res : VSGI.Response) | ||
res.body.write ("Hello world!".data) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env python | ||
|
||
bld.program( | ||
target = 'app', | ||
use = 'valum', | ||
source = 'app.gs', | ||
uselib = ['GEE', 'SOUP'], | ||
vapi_dirs = ['../../vapi']) |
Empty file.