sync
[app.Builder.js] / tests / JsCoreExecTest.vala
1
2 // valac --vapidir ../src/vapi JsCoreExecTest.vala ../src/Palete/Javascript.vala --pkg javascriptcore  -o /tmp/jstest
3
4  
5 int main (string[] args) {
6          var js = Palete.Javascript.singleton();
7          js.executeFile("/home/alan/gitlive/app.Builder.js/tests/hello.js", 
8                         "hello", "{}");
9           
10         
11         return 0;
12 }
13