pharo
pharo copied to clipboard
New Project should include git attributes
When creating a new project with Pharo/Iceberg the git attributes should be set to Smalltalk by creating a file .gitattributes with the following contents
*.st linguist-language=Smalltalk
See https://github.com/ba-st/RenoirSt/blob/release-candidate/.gitattributes for an example.
Somewhat related - it would be useful if a project also included a .project file with. { 'srcDirectory' : 'src' } as this is probably the best default to match git usage in most languages. And its annoying when you forget and have everything stuck in the root.
When creating a new project with Pharo/Iceberg the git attributes should be set to Smalltalk by creating a file .gitattributes with the following contents
*.st linguist-language=Smalltalk
See https://github.com/ba-st/RenoirSt/blob/release-candidate/.gitattributes for an example.
Github's linguist package understands that *.st
files are Smalltalk: https://github.com/github/linguist/blob/212946f47cd7a2505a71bd82f65b1263a6b64395/lib/linguist/languages.yml#L6168
Perhaps this is new since this issue was filed, but a custom linguist-language
setting is probably not needed any more.
GitHub
A DSL enabling programmatic cascading style sheet generation for Pharo Smalltalk - RenoirSt/.gitattributes at release-candidate · ba-st/RenoirSt
GitHub
Language Savant. If your repository's language is being reported incorrectly, send us a pull request! - linguist/languages.yml at 212946f47cd7a2505a71bd82f65b1263a6b64395 · github/linguist