Last change
on this file was 35240, checked in by davidb, 3 years ago |
Add setup file and ANT configuration tasks to allow including the API key and other properties
|
-
Property svn:executable
set to
*
|
File size:
320 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | if [ ! -f config.properties ] ; then
|
---|
4 | read -p "Enter your Reo Tuhituhi API key: " key
|
---|
5 | echo "Generating config.properties from config.properties.in."
|
---|
6 | sed -e "s/@tuhituhi.api.key@/$key/g" config.properties.in > config.properties
|
---|
7 | else
|
---|
8 | echo "config.properties already exists; no changes made."
|
---|
9 | fi |
---|
Note:
See
TracBrowser
for help on using the repository browser.