File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 22
33set -eu
44
5+ echo " Indexing CDS files"
6+
57# Check if the list of files is empty
68response_file=" $1 "
79
2123# in the appropriate directories
2224if ! command -v cds & > /dev/null
2325then
26+ echo " Pre-installing cds compiler"
27+
2428 # Find all the directories containing a package.json with a dependency on @sap/cds, where
2529 # the directory contains at least one of the files listed in the response file (e.g. the
2630 # cds files we want to extract).
4448
4549echo " Processing CDS files to JSON"
4650
47- # Run the cds compile command on each file in the response file, outputting the JSON to a file with the same name
51+ # Run the cds compile command on each file in the response file, outputting the compiled JSON to a file with
52+ # the same name
4853while IFS= read -r cds_file; do
49- $cds_command --version
54+ echo " Processing CDS file $cds_file to: "
5055 $cds_command compile " $cds_file " \
5156 -2 json \
5257 -o " $cds_file .json" \
You can’t perform that action at this time.
0 commit comments