diff --git a/package.json b/package.json index e1d0c51..8eb9122 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gulp-haxetool", - "version": "0.1.7", + "version": "0.1.8", "description": "HaXe Tool for Gulp", "main": "index.js", "dependencies": { diff --git a/template/project.hxml b/template/project.hxml index 92d78a6..3e2e6b7 100644 --- a/template/project.hxml +++ b/template/project.hxml @@ -4,6 +4,8 @@ -lib <%=item.name%>:<%=item.version.split('@').shift()%><% }); %> <% macros.forEach(function(item) { %> --macro "<%=item%>"<% }); %> +<% flags.forEach(function(item) { %> +-D <%=item%><% }); %> -main <%=main%> -<%=out%> "<%=buildDir%>/<%=platform%>/bin/<%=meta.filename%><%=ext%>"