summary refs log tree commit diff
path: root/pkgs/development/mobile/cocoapods/update
diff options
context:
space:
mode:
authorPeter Romfeld <peter.romfeld.hk@gmail.com>2018-04-22 03:37:56 +0800
committerMatthew Justin Bauer <mjbauer95@gmail.com>2018-04-21 14:37:56 -0500
commitf5b3f9962e7c9e1f2413bc591231f004d2481941 (patch)
treefd35d04f46cba6ab9fbb39c05d821ac17da70c99 /pkgs/development/mobile/cocoapods/update
parentaeff4242dbf14a1ae86119340ce4c8e438ea18e5 (diff)
downloadnixpkgs-f5b3f9962e7c9e1f2413bc591231f004d2481941.tar
nixpkgs-f5b3f9962e7c9e1f2413bc591231f004d2481941.tar.gz
nixpkgs-f5b3f9962e7c9e1f2413bc591231f004d2481941.tar.bz2
nixpkgs-f5b3f9962e7c9e1f2413bc591231f004d2481941.tar.lz
nixpkgs-f5b3f9962e7c9e1f2413bc591231f004d2481941.tar.xz
nixpkgs-f5b3f9962e7c9e1f2413bc591231f004d2481941.tar.zst
nixpkgs-f5b3f9962e7c9e1f2413bc591231f004d2481941.zip
cocoapods: init at 1.3.1 (#32583)
* cocoapods: init at 1.3.1

* requires xcode
Diffstat (limited to 'pkgs/development/mobile/cocoapods/update')
-rwxr-xr-xpkgs/development/mobile/cocoapods/update10
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/development/mobile/cocoapods/update b/pkgs/development/mobile/cocoapods/update
new file mode 100755
index 00000000000..58a7bd4a453
--- /dev/null
+++ b/pkgs/development/mobile/cocoapods/update
@@ -0,0 +1,10 @@
+#!/usr/bin/env nix-shell
+#! nix-shell -i bash -p bash ruby bundler bundix
+
+rm Gemfile.lock
+bundler install
+bundix
+
+if [ "clean" == "$1" ]; then
+  rm -rf ~/.gem
+fi