Skip to content

Instantly share code, notes, and snippets.

@oderwat
Created February 24, 2015 21:18
Show Gist options
  • Save oderwat/b56c0f0e5c7dbc54ae67 to your computer and use it in GitHub Desktop.
Save oderwat/b56c0f0e5c7dbc54ae67 to your computer and use it in GitHub Desktop.
Simple script to clone / pull and install the Nim GTK+3 wrappers from Stefan Saleski
#!/bin/bash
if [ ! -d "nim-gtk3" ]; then
git clone [email protected]:StefanSalewski/nim-gtk3.git
fi
cd nim-gtk3 && git pull && nimble install -y && cd ..
if [ ! -d "nim-gdk3" ]; then
git clone [email protected]:StefanSalewski/nim-gdk3.git
fi
cd nim-gdk3 && git pull && nimble install -y && cd ..
if [ ! -d "nim-glib" ]; then
git clone [email protected]:StefanSalewski/nim-glib.git
fi
cd nim-glib && git pull && nimble install -y && cd ..
if [ ! -d "nim-gobject" ]; then
git clone [email protected]:StefanSalewski/nim-gobject.git
fi
cd nim-gobject && git pull && nimble install -y && cd ..
if [ ! -d "nim-gtksourceview" ]; then
git clone [email protected]:StefanSalewski/nim-gtksourceview.git
fi
cd nim-gtksourceview && git pull && nimble install -y && cd ..
if [ ! -d "nim-gdk_pixbuf" ]; then
git clone [email protected]:StefanSalewski/nim-gdk_pixbuf.git
fi
cd nim-gdk_pixbuf && git pull && nimble install -y && cd ..
if [ ! -d "nim-pango" ]; then
git clone [email protected]:StefanSalewski/nim-pango.git
fi
cd nim-pango && git pull && nimble install -y && cd ..
if [ ! -d "nim-cairo" ]; then
git clone [email protected]:StefanSalewski/nim-cairo.git
fi
cd nim-cairo && git pull && nimble install -y && cd ..
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment