Created
April 4, 2015 17:41
-
-
Save nickadam/bcb72b4395772e865870 to your computer and use it in GitHub Desktop.
Export API info from .net assemblies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
appDir=application_dir; | |
appDirMetadata=application_dir_metadata; | |
find appDir | grep \.dll$ | while read file; | |
do | |
#The target folder where the dll's xml will go | |
folder="$(echo "$file" | sed 's/\/[^\/]\+$//' | sed 's/^$appDir/$appDirMetadata/')"; | |
mkdir -p "$folder"; | |
#use mono-api-info to export api info into xml file | |
echo mono-api-info "$file" > "$(echo $file| sed 's/^$appDir/$appDirMetadata/')".xml; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment