kiss-express projects smarter dts2hx handling. Close #164
This commit is contained in:
1
projects/kiss-express/template/.gitignore
vendored
1
projects/kiss-express/template/.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
node_modules/
|
||||
.haxelib/
|
||||
libs/
|
||||
index.js
|
@@ -1,5 +1,6 @@
|
||||
(let [app (Express.call)
|
||||
port 3000]
|
||||
(app.get "/" ->[req res next] (res.send "Hello World!"))
|
||||
(app.listen port ->(print "kiss-express listening at http://localhost:$port")))
|
||||
(#unless test
|
||||
(app.listen port ->(print "kiss-express listening at http://localhost:$port"))))
|
||||
|
||||
|
@@ -1,4 +1,7 @@
|
||||
#! /bin/bash
|
||||
|
||||
npm install .
|
||||
haxe build.hxml
|
||||
if [ ! -d node_modules ]; then
|
||||
$(haxelib libpath kiss)/build-scripts/dts2hx-externs/regenerate.sh
|
||||
fi
|
||||
|
||||
haxe -D test build.hxml
|
Reference in New Issue
Block a user