d: replace .code with .d
This commit is contained in:
parent
258539d593
commit
7e1960302d
|
@ -13,7 +13,7 @@ case "${PISTON_LANGUAGE}" in
|
|||
g++ -std=c++17 *.cpp
|
||||
;;
|
||||
d)
|
||||
rename 's/$/\.d/' "$@" # Add .d extension
|
||||
rename 's/.code$/\.d/' "$@" # Add .d extension
|
||||
gdc *.d
|
||||
;;
|
||||
*)
|
||||
|
|
Loading…
Reference in New Issue