mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-28 14:37:53 +00:00
feat: update local.sh
This commit is contained in:
parent
e7975d79a2
commit
5fb9df60dd
1 changed files with 2 additions and 6 deletions
8
local.sh
8
local.sh
|
@ -18,12 +18,8 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
read -p "Do you want to install Python requirements? [N/y] " answer
|
||||
|
||||
read -p "Do you want to install Python requirements? (yes, no): " answer
|
||||
|
||||
#is_venv = "python -c 'import sys; print(sys.prefix == sys.base_prefix)'"
|
||||
|
||||
#if [[ "$is_venv" == "True" ]]; then
|
||||
if [[ "$answer" == "yes" ]]; then
|
||||
pip3 install -r requirements.txt
|
||||
elif [[ "$answer" == "no" ]]; then
|
||||
|
@ -34,7 +30,7 @@ echo "Cleaning builddir directory"
|
|||
rm -r builddir
|
||||
|
||||
echo "Rebuilding"
|
||||
meson builddir
|
||||
meson setup builddir
|
||||
meson configure builddir -Dprefix="$(pwd)/builddir" -Dbuildtype=debug
|
||||
ninja -C builddir install
|
||||
|
||||
|
|
Loading…
Reference in a new issue