Skip to content

Commit

Permalink
chore(script): better output in create-single...
Browse files Browse the repository at this point in the history
  • Loading branch information
rouson committed Nov 25, 2024
1 parent 5ee2420 commit 0726978
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/create-single-source-file-programs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ if [ ! -d "$assert_dir" ] || [ ! -d $julienne_dir ]; then
fi

if [ -d ../build/dependencies/assert ] && [ -d ../build/dependencies/julienne ]; then
echo "------------- Dependencies assert and julienne are in ../build/dependencies ------------------"
echo "Dependencies Assert and Julienne are in ../build/dependencies"
else
echo "Dependencies assert and julienne are not in ../build/dependencies. Something went wrong."
echo "Dependencies Assert and Julienne are not in ../build/dependencies. Something went wrong."
exit 1
fi

Expand All @@ -56,5 +56,5 @@ cp "$assert_dir/include/assert_macros.h" "$destination_dir"
cat "$julienne_dir/include/language-support.F90" "$fiats_dir/include/language-support.F90" > "$destination_dir"/language-support.F90
cp "$fiats_dir/include/compound_assertions.h" "$destination_dir"

echo "Concatenating Assert, Julienne, Fiats, and example/concurrent-inferences.f90 into $destination_dir"
echo "Concatenating Assert, Julienne, Fiats, and example/concurrent-inferences.f90 into $destination_dir/concurrent-inferences-single-file.F90"
cat "$destination_dir"/assert.F90 "$destination_dir"/julienne.F90 "$destination_dir"/fiats.F90 "$fiats_dir/example/concurrent-inferences.f90" > $destination_dir/concurrent-inferences-single-file.F90

0 comments on commit 0726978

Please sign in to comment.