gnome-live r5 - in trunk/dev-kit: . scripts
- From: kvandine svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-live r5 - in trunk/dev-kit: . scripts
- Date: Fri, 11 Jan 2008 02:58:21 +0000 (GMT)
Author: kvandine
Date: Fri Jan 11 02:58:21 2008
New Revision: 5
URL: http://svn.gnome.org/viewvc/gnome-live?rev=5&view=rev
Log:
Added script for setting up a dev environment
Added:
trunk/dev-kit/
trunk/dev-kit/scripts/
trunk/dev-kit/scripts/setup_build_env.sh
Added: trunk/dev-kit/scripts/setup_build_env.sh
==============================================================================
--- (empty file)
+++ trunk/dev-kit/scripts/setup_build_env.sh Fri Jan 11 02:58:21 2008
@@ -0,0 +1,46 @@
+#!/bin/bash
+#
+# Copyright (C) 2008 Ken VanDine <ken vandine org>
+#
+# Licensed under the GNU General Public License Version 2
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+
+
+create_conaryrc() {
+echo "lookaside $HOME/conary/cache
+buildPath $HOME/conary/builds
+name $fullname
+contact $email
+
+[gnome:trunk]
+buildLabel gnome rpath org gnome:trunk
+" > $HOME/.conaryrc
+}
+
+make_dirs() {
+ mkdir -p $HOME/conary/cache
+ mkdir -p $HOME/conary/builds
+ mkdir -p $HOME/conary/gnome.rpath.org/gnome/trunk
+}
+
+echo "setup_build_env.sh is a script to help automate setting up a build environment for the gnome developer kit."
+echo "For more information on how to get started and what this script does, please visit this webpage: http://live.gnome.org/GnomeDeveloperKit/BuildingPackages"
+
+if [ -f $HOME/.conaryrc ]
+then
+ echo ".conaryrc already exists, exiting"
+ exit
+else
+ read -p "Full Name: " fullname
+ read -p "E-mail Address: " email
+ create_conaryrc
+ make_dirs
+ cd $HOME/conary/gnome.rpath.org/gnome/trunk
+ cvc context gnome:trunk
+ echo "Created build environment, you will find your working dir $HOME/conary/gnome.rpath.org/gnome/trunk"
+fi
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]