We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi Robert,
i just tried to use the --from --to flags while creating a project.
@node Kha/make --target flash --from src/spriter/example-kha-g2 --to build/example-kha-g2
results in Kha paths being broken.
<class path="..\..\src\spriter\example-kha-g2\e:\projects.libraries\Spriter-Example\Kha\Sources" /> <class path="..\..\src\spriter\example-kha-g2\e:\projects.libraries\Spriter-Example\Kha\Backends\Flash" /> <class path="..\..\src\spriter\example-kha-g2" /> <class path="..\..\SpriterHaxeEngine" />
Bugfix is quite easy: In khamake/HaxeProject.js change path.join() to path.resolve()
for (let i = 0; i < options.sources.length; ++i) { classpaths.e.push({ n: 'class', path: path.relative(projectdir, path.resolve(options.from, options.sources[i])) //path: path.relative(projectdir, path.join(options.from, options.sources[i])) }); }
Result:
<class path="..\..\Kha\Sources" /> <class path="..\..\Kha\Backends\Flash" /> <class path="..\..\src\spriter\example-kha-g2" /> <class path="..\..\SpriterHaxeEngine" />
Now i think i should start to learn how to do proper forks and pull requests and stuff instead of posting here 😅
The text was updated successfully, but these errors were encountered:
fc5361b
Thanks!
Sorry, something went wrong.
No branches or pull requests
Hi Robert,
i just tried to use the --from --to flags while creating a project.
@node Kha/make --target flash --from src/spriter/example-kha-g2 --to build/example-kha-g2
results in Kha paths being broken.
Bugfix is quite easy: In khamake/HaxeProject.js change path.join() to path.resolve()
Result:
Now i think i should start to learn how to do proper forks and pull requests and stuff instead of posting here 😅
The text was updated successfully, but these errors were encountered: