Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
Let's start by adding sandbox/hello.flow to check if we can
run it.
Add build script that creates html bundle with our app,
and basic gitignore.
  • Loading branch information
orlovol committed May 29, 2019
0 parents commit 18ccf4f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.html
*.js
.compile-errors
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
flowc1 js=game.js html=game.html game.flow
6 changes: 6 additions & 0 deletions game.flow
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import form/renderform;

main() {
println("Hello console");
us = render(Text("Hello window!", []));
}

0 comments on commit 18ccf4f

Please sign in to comment.