diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-11-23 21:18:21 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-11-23 21:18:21 +0300 |
commit | 9107efe94d0a767a02401c1b6c16375416720415 (patch) | |
tree | eb20a8a5741e2627880c0b58fe76f71c1485330c /mcs/Makefile | |
parent | 7ed25b0be4c376d978d80ce6599289cec62754cb (diff) |
[api-diff] Only delete .cs files in the api diff
We're starting to add additional files into the profile directories
in api-snapshot and these would get deleted otherwise.
Diffstat (limited to 'mcs/Makefile')
-rw-r--r-- | mcs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/Makefile b/mcs/Makefile index b7cb886b20e..59db5e77267 100644 --- a/mcs/Makefile +++ b/mcs/Makefile @@ -159,7 +159,7 @@ $(MONO_API_SNAPSHOT_PROFILE_PATH)%.cs: $(topdir)class/lib/$(PROFILE)/%.dll $(GEN mono-api-current: $(MONO_API_ASSEMBLIES_CS) mono-api-current-clean: - $(Q) rm -rf "$(MONO_API_SNAPSHOT_PROFILE_PATH)" + $(Q) find "$(MONO_API_SNAPSHOT_PROFILE_PATH)" -name "*.cs" -type f -delete mono-api-diff: @echo "Regenerating API snapshot..." |