Doug Lauder
2023-03-22 17:22:27 -04:00
коммит произвёл GitHub
родитель b61c096497
Коммит c943ed6859
13276 изменённых файлов: 1695615 добавлений и 223189 удалений

20
server/scripts/setup_go_work.sh Исполняемый файл
Просмотреть файл

@@ -0,0 +1,20 @@
#!/bin/bash
if [[ $1 != "true" ]] ;
then
echo "Creating a go.work file"
txt="go 1.19\n\nuse ./\n"
if [ "$BUILD_ENTERPRISE_READY" == "true" ]
then
txt="${txt}use ../enterprise\n"
fi
if [ "$BUILD_PLAYBOOKS" == "true" ]
then
txt="${txt}use ../mattermost-plugin-playbooks\n"
fi
printf "$txt" > "../go.work"
fi