summary refs log tree commit diff stats
path: root/examples/cross_calculator/ios/scripts
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2018-09-03 18:29:00 +0200
committerAraq <rumpf_a@web.de>2018-09-03 18:29:11 +0200
commit320582a55c9ba1f91d70a3f120413e305fda2962 (patch)
tree6114d47a5342adfd4d1f472bb3484a73ad11cf06 /examples/cross_calculator/ios/scripts
parent1a60ffcf1dc265c6b92dfd757e1bfd5e904c1f3d (diff)
downloadNim-320582a55c9ba1f91d70a3f120413e305fda2962.tar.gz
cleanup Nim's examples/ directory; closes #7725
Diffstat (limited to 'examples/cross_calculator/ios/scripts')
-rw-r--r--examples/cross_calculator/ios/scripts/tags.sh13
-rw-r--r--examples/cross_calculator/ios/scripts/xcode_prebuild.sh35
2 files changed, 0 insertions, 48 deletions
diff --git a/examples/cross_calculator/ios/scripts/tags.sh b/examples/cross_calculator/ios/scripts/tags.sh
deleted file mode 100644
index 111e7a1c0..000000000
--- a/examples/cross_calculator/ios/scripts/tags.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/sh
-
-if [ ! -d src ]
-then
-	cd ..
-fi
-
-if [ -d src ]
-then
-	~/bin/objctags -R \
-		build/nimcache \
-		src
-fi
diff --git a/examples/cross_calculator/ios/scripts/xcode_prebuild.sh b/examples/cross_calculator/ios/scripts/xcode_prebuild.sh
deleted file mode 100644
index 90bafd74e..000000000
--- a/examples/cross_calculator/ios/scripts/xcode_prebuild.sh
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/bin/sh
-
-# Set this to the full path of your nimrod compiler
-# since Xcode doesn't inherit your user environment.
-PATH_TO_NIMROD=~/project/nimrod/bin/nimrod
-# Set this to the location of the nimbase.h file so
-# the script can update it if it changes.
-PATH_TO_NIMBASE=~/project/nimrod/lib/nimbase.h
-
-# Force errors to fail script.
-set -e
-
-# If we are running from inside the scripts subdir, get out.
-if [ ! -d src ]
-then
-	cd ..
-fi
-
-DEST_NIMBASE=build/nimcache/nimbase.h
-
-# Ok, are we out now?
-if [ -d src ]
-then
-	$PATH_TO_NIMROD objc --noMain  --app:lib \
-		--nimcache:./build/nimcache --compileOnly \
-		--header --cpu:i386 ../nimrod_backend/backend.nim
-	if [ "${PATH_TO_NIMBASE}" -nt "${DEST_NIMBASE}" ]
-	then
-		echo "Updating nimbase.h"
-		cp "${PATH_TO_NIMBASE}" "${DEST_NIMBASE}"
-	fi
-else
-	echo "Uh oh, src directory not found?"
-	exit 1
-fi