pkg(gcc-10.2.0): Adds Fortran support for GCC (#236)

This commit is contained in:
Victor Frazao 2021-04-27 19:02:17 -04:00 committed by GitHub
parent 959830c652
commit 65cbefa94e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 1 deletions

View file

@ -16,6 +16,10 @@ case "${PISTON_LANGUAGE}" in
rename 's/.code$/\.d/' "$@" # Add .d extension
gdc *.d
;;
fortran)
rename 's/.code$/\.f90/' "$@" # Add .f90 extension
gfortran *.f90
;;
*)
echo "How did you get here? (${PISTON_LANGUAGE})"
exit 1