Skip to content

Instantly share code, notes, and snippets.

View mnoumanshahzad's full-sized avatar

Muhammad Nouman Shahzad mnoumanshahzad

View GitHub Profile
@mnoumanshahzad
mnoumanshahzad / make-to-just.sh
Created January 11, 2024 12:21
Port Makefile targets to Justfile recipes to enable incremental deprecation of Makefile usage
#!/bin/bash
# Name of the Makefile to be converted
MAKEFILE="Makefile"
# Name of the output Justfile
JUSTFILE="Justfile"
# Check if the Makefile exists
if [ ! -f "$MAKEFILE" ]; then