Skip to content

Commit

Permalink
fix dotnet call of vale
Browse files Browse the repository at this point in the history
  • Loading branch information
pnmadelaine committed Jun 2, 2022
1 parent c50ad76 commit 289c59b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
8 changes: 8 additions & 0 deletions runtimeconfig.json
@@ -0,0 +1,8 @@
{
"runtimeOptions": {
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
}
}
}
3 changes: 3 additions & 0 deletions tools/get_vale.sh
Expand Up @@ -38,6 +38,9 @@ if [ $vale_version != $old_vale_version ]; then
rm -rf "vale/bin"
mv "vale/vale-release-${vale_version}/bin" vale/
chmod +x vale/bin/*.exe
pwd
cp $HACL_HOME/runtimeconfig.json vale/bin/vale.runtimeconfig.json
cp $HACL_HOME/runtimeconfig.json vale/bin/importFStarTypes.runtimeconfig.json
echo
echo -e "\033[0;31mRemember to do:\033[0;0m"
echo "export VALE_HOME=$(realpath $HACL_HOME/..)/vale"
Expand Down

0 comments on commit 289c59b

Please sign in to comment.