Skip to content

Commit

Permalink
Update to latest Deno and tweak Hello World
Browse files Browse the repository at this point in the history
  • Loading branch information
sholladay committed May 24, 2019
1 parent 567e95b commit e63ae60
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
language: python

install:
- curl -fL https://deno.land/x/install/install.sh | sh -s v0.3.7
- curl -fsSL https://deno.land/x/install/install.sh | sh -s v0.6.0
- export PATH="$HOME/.deno/bin:$PATH"

script:
- deno test.js
- deno run test.js
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Pogo is an easy to use, safe, and expressive framework for writing web servers and applications. It is inspired by [hapi](https://github.com/hapijs/hapi).

*Supports Deno v0.3.0 and higher*

## Contents

- [Why?](#why)
Expand All @@ -27,7 +29,7 @@ const app = pogo.server({ port : 3000 });

app.route({
method : 'GET',
path : '/hello',
path : '/',
handler() {
return 'Hello, world!';
}
Expand Down

0 comments on commit e63ae60

Please sign in to comment.