-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.properties
140 lines (114 loc) · 4.46 KB
/
build.properties
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
# Property files contain key/value pairs
#
#---------------------------------------------------------------------
# WordPress Install
#---------------------------------------------------------------------
#Full path directory where you want to install WordPress
#Required
build.dir.wp=D:\Sites\Foo18
#The database name you want to create or are using.
#Required
build.db.name=foo_18
#Working directory
# Leave as is unless you want to work on a different directory than set above (for git, minify, etc)
build.dir.work=${build.dir.wp}
#This is your actual working URL based on your own config/hosts file (http://localhost or ..)
#If you mess this up it will still install WP but you will have to fix it in the database.
#Recommended
build.dir.actual=http://dev.local/Foo18
#Database info
#This will also be entered into the wp-config.php.
#Errors handled by PDO
build.db.url= mysql:host=localhost;
build.db.userid= root
build.db.password=
build.db.wp.host= localhost
#Login info - this is normally set during WordPress install
build.wp.title = site title
build.wp.user = admin
build.wp.password = admin
build.wp.email = [email protected]
# This should be site title without any spaces (back-ups and non conflicts)
build.wp.title.ref = site-title
#Zip file location of wordpress download
build.download.wp.url=http://wordpress.org/latest.tar.gz
#Nightly
#build.download.wp.url=http://wordpress.org/nightly-builds/wordpress-latest.zip
#Comma delimited list of zip downloads of WordPress Plugins (optional)
#build.download.plugin.urls=http://downloads.wordpress.org/plugin/debug-bar.0.8.zip,http://downloads.wordpress.org/plugin/wordpress-seo.1.2.8.4.zip
#Comma delimited list of zip downloads of wordpress Themes (optional)
#build.download.themes.urls=http://wordpress.org/extend/themes/download/toolbox.1.4.zip
#Set the db prefix for wp-config.php
build.wp.config.db.prefix=wp_
#Enable WP_DEBUG in wp-config.php
build.wp.config.debug=true
#Enable SAVEQUERIES in wp-config.php
build.wp.config.savequeries=true
#insert contents of a file into wp-config.php; file must live in same directory as build/props (ie - custom user tables, define statements, etc)
#build.wp.config.append.filename=
#---------------------------------------------------------------------------
# WordPress Move Stuff
#---------------------------------------------------------------------------
# MySQL Database Dump
#
build.wp.db.dump.host=${build.db.wp.host}
build.wp.db.dump.username=${build.wp.user}
build.wp.db.dump.pass=${build.db.password}
# name the DB dump
build.wp.db.dump.name=${build.wp.title}
# Which folder to send output
build.wp.db.dump.folder=${build.dir.wp}
build.wp.db.dump.send=${build.wp.db.dump.folder}\${build.wp.db.dump.name}-${DSTAMP}.sql
#---------------------------------------------------------------------------
# Git Stuff
#---------------------------------------------------------------------------
build.git.init=${build.dir.work}
build.git.clone=
build.git.pull=
build.git.push=
build.git.branch=
#----------------
# PHP Documentor 2 - http://www.phpdoc.org/
#
build.wp.docs.dir = ${build.dir.work}
# Name your Docs
build.wp.docs.name =
# The output directory
build.wp.doc.output = ${build.dir.work}\docs
#----------------
#---------------------------------------------------------------------------
# WordPress Misc Stuff
#---------------------------------------------------------------------------
# Tarballs
#
# Name - this is set to the blog title + time stamp by default
build.wp.tarball.name = ${build.wp.title.ref}-${DSTAMP}
#Tarball dir you want to package , this is set to the build dir by default
build.wp.tarball.location = ${build.dir.work}
#Tarball file you want to package, set to DB .sql dump by default
build.wp.tarball.file = ${build.wp.db.dump.send}
#Where are we sending the tarball? this is set to the build dir by default
build.wp.tarball.send = ${build.dir.work}
#--------------
# JsMin
#
# Minifying js is build into phing
#directory with your js files in it
build.wp.jsmin.dir = ${build.dir.work}\wp-content\themes\twentyeleven\js
#output will go in here with -min suffix
build.wp.jsm.output = ${build.dir.work}\wp-content\themes\twentyeleven\js\min
#--------------
#Timestamps
#
build.dt.buildformat = %a, %d %b %Y, %H:%M
build.dt.fileformat = %Y-%m-%d-%H-%M
# FTP
#
# FTP requires Net_FTP and is commeneted out here and in build.xml by default.
#
# ftp.source=${build.dir.work}
# ftp.host=ftp.example.com
# ftp.port=21
# ftp.username=username
# ftp.password=password
# ftp.dir=/public_html/example