d: replace .code with .d

This commit is contained in:
Thomas Hobson 2021-04-25 15:36:38 +12:00
parent 258539d593
commit 7e1960302d
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ case "${PISTON_LANGUAGE}" in
g++ -std=c++17 *.cpp g++ -std=c++17 *.cpp
;; ;;
d) d)
rename 's/$/\.d/' "$@" # Add .d extension rename 's/.code$/\.d/' "$@" # Add .d extension
gdc *.d gdc *.d
;; ;;
*) *)