Sha256: 62cf5aee61bab2fe0a75ad430841f9291d5b18e2c4edf0ac394dafb82f6514b6
Contents?: true
Size: 538 Bytes
Versions: 3
Compression:
Stored size: 538 Bytes
Contents
#!/bin/bash name=$1 if [ -z $name ] ; then echo "usage: $0 appname [env] [options]" exit 1; fi env=$2 if [ -z $env ] ; then env="prod" fi proj_owner=www-data svn_path=/var/svn/$name/ function create_svn { echo "CREATING SVN" svnadmin create $svn_path chown -R $USER.rails-dev $svn_path echo "svn co svn+ssh://$(hostname -f)$svn_path" } create_svn for var1 in "$@" do case $var1 in --with-rails) cd /var/www/rails_apps/$env/ svn co svn+ssh://$(hostname -f)$svn_path $name/ rails new $name ;; esac done
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
citrin-0.0.10 | commands/create_svn |
citrin-0.0.9 | commands/create_svn |
citrin-0.0.8 | commands/create_svn |