Closed posxposy closed 5 years ago
This should definitely not be part of the compiler, could be added to vshaxe commands instead.
Le lun. 21 janv. 2019 19:12, Dmitry Hryppa notifications@github.com a écrit :
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 https://github.com/dmitryhryppa/haxe-evolution/blob/init-command/proposals/0000-init-command.md
You can view, comment on, or merge this pull request online at:
https://github.com/HaxeFoundation/haxe-evolution/pull/55 Commit Summary
- Add new proposal. Init commad.
- fix text, add author
- add alternatives
File Changes
- A proposals/0000-init-command.md https://github.com/HaxeFoundation/haxe-evolution/pull/55/files#diff-0 (69)
Patch Links:
- https://github.com/HaxeFoundation/haxe-evolution/pull/55.patch
- https://github.com/HaxeFoundation/haxe-evolution/pull/55.diff
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/HaxeFoundation/haxe-evolution/pull/55, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-bwOz_Iyt_OpFZc9LeUyoYg4oDP2fAks5vFgMHgaJpZM4aLUCo .
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.
This is outside the scope of a compiler.
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.
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.
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:
Rendered version