add Reason.gitignore option #3291
Conversation
|
Can you add |
edits per #3291 (comment)
|
Done. Comments? |
|
Can you make your change to OCaml.gitignore and symlink it because they have the same trash files. Like Kotlin and Java. |
|
Will have to look up symlinking on a git pull. Otherwise, if you think that is best, works for me. |
| @@ -0,0 +1,15 @@ | |||
| # other | |||
| .DS_Store | |||
Hipska
Aug 21, 2020
This is already present in macOS.gitignore:
gitignore/Global/macOS.gitignore
Line 2
in
218a941
This is already present in macOS.gitignore:
gitignore/Global/macOS.gitignore
Line 2 in 218a941
| .DS_Store | ||
|
|
||
| # node | ||
| npm-debug.log |
Hipska
Aug 21, 2020
This is already present in Node.gitignore:
Lines 1 to 4
in
218a941
This is already present in Node.gitignore:
Lines 1 to 4 in 218a941
|
|
||
| # node | ||
| npm-debug.log | ||
| /node_modules/ |
Hipska
Aug 21, 2020
This is already present in Node.gitignore:
Lines 40 to 42
in
218a941
This is already present in Node.gitignore:
Lines 40 to 42 in 218a941
Et7f3
Aug 22, 2020
•
Can we somehow merge gitignore because reason in itself is just a syntax that can use native tool of ocaml (ocaml.gitgnore) or js tools when target web (Node.gitignore) or maybe shall we create ReasonNative.gitignore and ReasonNode.gitignore
(Also their is a rebranding now Reason targeted at js is ReScript-lang) and ReasonMl focus on native side.
Maybe something like c preproccessor (with other marker because it is for comment)
#include "tools/opam.gitgnore"
#include "tools/esy.gitgnore"
(opam/esy is just like npm/yarn it depends of what we like)
#include "os/window.gitignore"
#include "os/macOs.gitignore"
Can we somehow merge gitignore because reason in itself is just a syntax that can use native tool of ocaml (ocaml.gitgnore) or js tools when target web (Node.gitignore) or maybe shall we create ReasonNative.gitignore and ReasonNode.gitignore
(Also their is a rebranding now Reason targeted at js is ReScript-lang) and ReasonMl focus on native side.
Maybe something like c preproccessor (with other marker because it is for comment)
#include "tools/opam.gitgnore"
#include "tools/esy.gitgnore"
(opam/esy is just like npm/yarn it depends of what we like)
#include "os/window.gitignore"
#include "os/macOs.gitignore"
Reasons for making this change:
Adding ReasonML .gitignore option to Desktop new repository workflow. Currently there is no reasonml .gitignore option. Here are the options under languages that start with the letter R for the
.gitignoremenu. These are the current options for the letterR:This would add a
.gitignoreoption for a recognized github language.This template is the
.gitignorethat comes from the ReasonML/Bucklescript react template which might serve as a base.If this is a new template: