19 строки
665 B
TOML
19 строки
665 B
TOML
[build]
|
|
command = """
|
|
# Install Maven
|
|
wget http://apache.mirrors.pair.com/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz
|
|
tar -xvzf apache-maven-3.6.3-bin.tar.gz
|
|
mv apache-maven-3.6.3 maven
|
|
export PATH=$PWD/maven/bin:$PATH
|
|
mvn dependency:copy-dependencies
|
|
# Generate SQL
|
|
mkdir sql-output
|
|
cp -r sql/ sql-output/sql
|
|
./script/generate_sql --sql-dir sql-output/sql --target-project moz-fx-data-shared-prod
|
|
rm -r sql/ && mv sql-output/sql sql/
|
|
./script/generate_docs --output_dir=generated_docs/
|
|
cd generated_docs && mkdocs build
|
|
"""
|
|
environment = { PYTHON_VERSION = "3.8" }
|
|
publish = "generated_docs/site"
|