1 Commits
0.1.7 ... 0.1.8

Author SHA1 Message Date
e0eddbcab5 [template] add flags to project.hxml template 2020-03-30 18:58:01 +03:00
2 changed files with 3 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "gulp-haxetool", "name": "gulp-haxetool",
"version": "0.1.7", "version": "0.1.8",
"description": "HaXe Tool for Gulp", "description": "HaXe Tool for Gulp",
"main": "index.js", "main": "index.js",
"dependencies": { "dependencies": {

View File

@@ -4,6 +4,8 @@
-lib <%=item.name%>:<%=item.version.split('@').shift()%><% }); %> -lib <%=item.name%>:<%=item.version.split('@').shift()%><% }); %>
<% macros.forEach(function(item) { %> <% macros.forEach(function(item) { %>
--macro "<%=item%>"<% }); %> --macro "<%=item%>"<% }); %>
<% flags.forEach(function(item) { %>
-D <%=item%><% }); %>
-main <%=main%> -main <%=main%>
-<%=out%> "<%=buildDir%>/<%=platform%>/bin/<%=meta.filename%><%=ext%>" -<%=out%> "<%=buildDir%>/<%=platform%>/bin/<%=meta.filename%><%=ext%>"