mirror of
https://github.com/google/nomulus.git
synced 2025-04-29 19:47:51 +02:00
* Create a nom_build wrapper script nom_build is a wrapper around ./gradlew. It's purpose is to help us deal with properties. The main problem that it is trying to solve is that when properties are specified using -P, we don't get an error if the property we specify isn't correct. As a result, a user or a build agent can launch a build with unintended parameters. nom_build consolidates all of the properties that we define into a python script where the properties are translated to flags (actual gradlew flags are also proxied). It also generates the property file and warns the user if the current properties file is out of sync with the script and includes documentation on each of the properties.
5 lines
98 B
Bash
Executable file
5 lines
98 B
Bash
Executable file
#!/bin/sh
|
|
# Wrapper for nom_build.py.
|
|
cd $(dirname $0)
|
|
python3 ./config/nom_build.py "$@"
|
|
exit $?
|