Skip to content

Commit

Permalink
Add clean.sh script
Browse files Browse the repository at this point in the history
  • Loading branch information
kuba160 committed Jan 13, 2024
1 parent b0b4278 commit a4e0050
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/bin/bash

# $1 location

if [ $# -ne 1 ]; then
echo "this script takes 1 argument"
exit 1
fi

rm -v "$1/lib/BlocksRuntime.lib" "$1/lib/dispatch.lib"
rmdir -v "$1/lib"

mv -v "$1/bin" "$1/lib"

sed 's/^typedef/\/\/typedef/g' -i "$1/include/os/generic_win_base.h"

rm -rv "$1/share"

0 comments on commit a4e0050

Please sign in to comment.