Commit 8fba566e authored by Jacob Priddy's avatar Jacob Priddy 👌
Browse files

Modify build process to separate out front and back end build processes

parent 0c3e6b41
Pipeline #8844 failed with stages
in 22 seconds
......@@ -14,8 +14,7 @@ stages:
build_web_backend:
stage: build
script:
- cd src/web
- ./install-dev.sh
- src/web/backend/install-dev.sh
artifacts:
paths:
- src/web/backend/vendor
......@@ -24,6 +23,11 @@ build_web_backend:
# Currently set to build timeout
expire_in: 1 hour
build_web_frontend:
stage: build
script:
- src/web/frontend/install-dev.sh
test_php_styles:
stage: test
script:
......
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# Install php dependencies
composer install -d "${DIR}"
# configure the backend
"${DIR}/configure.sh"
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
npm install --prefix "${DIR}"
npm run --prefix "${DIR}" build
......@@ -2,9 +2,5 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
# Install php dependencies
composer install -d "${DIR}/backend"
# configure the backend
"${DIR}/backend/configure.sh"
npm install --prefix "${DIR}/frontend"
npm run --prefix "${DIR}/frontend" build
\ No newline at end of file
"${DIR}/backend/install-dev.sh"
"${DIR}/frontend/install-dev.sh"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment