Skip to content

Commit

Permalink
- added script to remove excessive warnings from xcode
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed Oct 25, 2013
1 parent abc182d commit d575ceb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions removeWarningsFromXcode.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash
if [ ! -f ./COPASI.xcodeproj/project.pbxproj ]; then
echo "Please run this script from within a build dir configured for XCode"
exit
fi

# now just remove the warning flags.
sed -n '/WARNING_CFLA/!p' ./COPASI.xcodeproj/project.pbxproj > /tmp/project.pbxproj_new && mv /tmp/project.pbxproj_new ./COPASI.xcodeproj/project.pbxproj

0 comments on commit d575ceb

Please sign in to comment.