From a481515c2855c4619f4203b185b23381b3db1ce2 Mon Sep 17 00:00:00 2001 From: keyan Date: Fri, 4 Jun 2021 19:33:39 -0400 Subject: [PATCH] try this shit again --- .ebextenstions/commands.config | 4 ---- .platform/hooks/prebuild/00_build.sh | 13 +++++-------- 2 files changed, 5 insertions(+), 12 deletions(-) delete mode 100644 .ebextenstions/commands.config diff --git a/.ebextenstions/commands.config b/.ebextenstions/commands.config deleted file mode 100644 index 1732c15f..00000000 --- a/.ebextenstions/commands.config +++ /dev/null @@ -1,4 +0,0 @@ -commands: - 00_build_sh: - command: ./build.sh - ignoreErrors: false diff --git a/.platform/hooks/prebuild/00_build.sh b/.platform/hooks/prebuild/00_build.sh index 72b91bb7..47cbde35 100755 --- a/.platform/hooks/prebuild/00_build.sh +++ b/.platform/hooks/prebuild/00_build.sh @@ -1,19 +1,16 @@ #!/usr/bin/env bash echo installing yarn - -# install yarn sudo npm install yarn -g -echo link - -# make sure it's in path +echo link yarn sudo ln -s "$(npm bin --global)"/yarn /usr/bin/yarn +echo install +yarn install + echo gen primsa client prisma generate -echo try to build - -# build it +echo build yarn build \ No newline at end of file