News for hackers. Stuff that matters.
Re:Show HN: A Markdown based alternative to package.json scr... by djbusby on Tuesday October 15, 2024 @01:59PM (#41851201)
X is kinda overloaded. Maybe "makedown"? Or something?

I just do mine in bash (make.sh) and it runs scripts from make.d/ which are in whatever (python, js bash, PHP)

Re:Show HN: A Markdown based alternative to package.json scr... by nunobrito on Tuesday October 15, 2024 @02:01PM (#41851236)
Makedown is a good name. +1 vote from me (in case it counts)
Re:Show HN: A Markdown based alternative to package.json scr... by timz on Tuesday October 15, 2024 @02:22PM (#41851505)
Love the makedown name, renaming.. As for a short name available in terminal, we can add alias m="makedown" as part of zsh completion script. Both: $ makedown deploy-to-production and $ m deploy-to-production --help will work

Aditionally we can generate html out of the, now `makedown.md`, right in the tool: $ makedown --html makedown.html or $ m --pdf makedown.pdf

Re:Show HN: A Markdown based alternative to package.json scr... by efilife on Tuesday October 15, 2024 @05:54PM (#41853509)
Remember to change it in the readme as well
Re:Show HN: A Markdown based alternative to package.json scr... by timz on Wednesday October 16, 2024 @09:05AM (#41858636)
Updated, makedown it is
Re:Show HN: A Markdown based alternative to package.json scr... by mbreese on Wednesday October 16, 2024 @07:47AM (#41857998)
I appreciate the quickness in renaming a project (x.md wasn’t great), but you’re missing the main point that Make provides - building a project based upon changing input files (DAGs and all of that). Make files are great in that they are flexible and allow this type of usage (especially with .PHONY),

But without the “building” component to it, I found the name makedown confusing. Maybe that’s just me.

But I like the project overall. I’m still trying to get my head around the syntax, but it looks nice. I’m also not sure I’ll switch from keeping scripts like this in my $HOME/.local/bin directory, but I can see how this is an appealing way to work.

Re:Show HN: A Markdown based alternative to package.json scr... by timz on Wednesday October 16, 2024 @09:07AM (#41858649)
I see where you are coming from for C/C++ based projects, but for more higher level ones, this is being taken care of by the compilers themselves.
Re:Show HN: A Markdown based alternative to package.json scr... by mbreese on Wednesday October 16, 2024 @07:24PM (#41864916)
I use Makefiles all the time for dependency management, not necessarily for compiling code. For example, in a data analysis workflow, I’ll use a make file to manage the processing from ETL, extracting out whatever data I need, and finally, generating a figure. Whenever one step in the process is updated, the rest are automatically also run.

It’s not just for C!

(Although, it’s mainly used for C)