Make Misc/swiftshell-init work on Linux.

This commit is contained in:
kareman
2016-11-03 19:56:59 +01:00
parent 8ffddca79e
commit 8590bc52ae
+6 -2
View File
@@ -22,5 +22,9 @@ swift build
# Uncomment to automatically place a symbolic link to the compiled executable in a folder in your $PATH.
#ln -s `pwd`/.build/debug/$NAME <A FOLDER IN YOUR $PATH>/$NAME
swift package generate-xcodeproj
open $NAME.xcodeproj/
platform=$(uname)
if [[ "$platform" == 'Darwin' ]]; then
swift package generate-xcodeproj
open $NAME.xcodeproj/
fi