Skip to content
New issue

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

Command to init empty Haxe project. #55

Closed
wants to merge 3 commits into from
Closed

Command to init empty Haxe project. #55

wants to merge 3 commits into from

Conversation

posxposy
Copy link

Providinga a Haxe compiler command to create an empty project in the selected folder.
haxe --init cpp js hl

Which will generate something like this:

├───.vscode
│   ├── settings.json
│   └── tasks.json
│
├── out
│   ├── cpp
│   ├── hl
│   └── js
│
├── src
│   └── Main.hx
│
├── build.cpp.hxml
├── build.hl.hxml
├── build.js.hxml
├── common.hxml

Rendered version

@ncannasse
Copy link
Member

ncannasse commented Jan 21, 2019 via email

@markknol
Copy link
Member

markknol commented Jan 22, 2019

I once created a haxelib called hxnew which does something like that, maybe I should add vscode support for it.
Or indeed, could be added to vshaxe commands.

@Simn
Copy link
Member

Simn commented Jan 22, 2019

This is outside the scope of a compiler.

@Simn Simn closed this Jan 22, 2019
@posxposy
Copy link
Author

This should definitely not be part of the compiler
This is outside the scope of a compiler.

I thought about TypeScript compiler which has that option, that's why I did this proposal here :)

@markknol
I once created a haxelib called hxnew which does something like that, maybe I should add vscode support for it.
Or indeed, could be added to vshaxe commands.

Oh, this is a very cool thing. Would be awesome if this can be a part of at least VSHaxe.

@fullofcaffeine
Copy link

Oh, this is a very cool thing. Would be awesome if this can be a part of at least VSHaxe.

Or at least mentioned in the haxe.org website. This can help reduce some friction when first trying Haxe.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants