News for hackers. Stuff that matters.
Re:Proper use of Git tags by t0astbread on Monday May 23, 2022 @04:46PM (#31484580)
Some languages and build systems also allow you to set constants from compiler flags (Go for example). Other systems make the entire build configuration an executable program (Gradle).
Re:Proper use of Git tags by jonnycomputer on Monday May 23, 2022 @07:49PM (#31486277)
I did not know that. I mostly use interpreted languages (Python, JavaScript, etc.)
Re:Proper use of Git tags by formerly_proven on Tuesday May 24, 2022 @02:30AM (#31488694)
For Python there are tools like setuptools_scm to completely automate the setup of this.
Re:Proper use of Git tags by jonnycomputer on Tuesday May 24, 2022 @11:55AM (#31493709)
Good to know.