Merge remote-tracking branch 'origin/145-build-system-rewrite' into fradrive/merge-jost-new-build
This commit is contained in:
commit
507c383410
2
Makefile
2
Makefile
@ -251,7 +251,7 @@ endif
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# HELP(start-backend): start yesod-devel instance
|
# HELP(start-backend): start yesod-devel instance
|
||||||
--start-backend: --compile-backend
|
--start-backend:
|
||||||
export DEV_PORT_HTTP=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTP=' | sed 's/DEV_PORT_HTTP=//'`; \
|
export DEV_PORT_HTTP=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTP=' | sed 's/DEV_PORT_HTTP=//'`; \
|
||||||
export DEV_PORT_HTTPS=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTPS=' | sed 's/DEV_PORT_HTTPS=//'`; \
|
export DEV_PORT_HTTPS=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTPS=' | sed 's/DEV_PORT_HTTPS=//'`; \
|
||||||
export HOST=`hostname -s` ; \
|
export HOST=`hostname -s` ; \
|
||||||
|
|||||||
@ -21,6 +21,8 @@ ENV STACK_ROOT="${PROJECT_DIR}/.stack"
|
|||||||
WORKDIR "${PROJECT_DIR}/.job-${JOB}"
|
WORKDIR "${PROJECT_DIR}/.job-${JOB}"
|
||||||
ENV HOME="${PROJECT_DIR}/.job-${JOB}"
|
ENV HOME="${PROJECT_DIR}/.job-${JOB}"
|
||||||
RUN make -- --dependencies-backend STACK_ROOT=${STACK_ROOT} IN_CONTAINER=true JOB=${JOB}
|
RUN make -- --dependencies-backend STACK_ROOT=${STACK_ROOT} IN_CONTAINER=true JOB=${JOB}
|
||||||
|
|
||||||
|
RUN cd "${PROJECT_DIR}" && make .job-start
|
||||||
RUN cd "${PROJECT_DIR}/.job-start" && STACK_ROOT=${STACK_ROOT} stack install yesod-bin
|
RUN cd "${PROJECT_DIR}/.job-start" && STACK_ROOT=${STACK_ROOT} stack install yesod-bin
|
||||||
|
|
||||||
ENV FRADRIVE_MAKE_TARGET=--start-backend
|
ENV FRADRIVE_MAKE_TARGET=--start-backend
|
||||||
|
|||||||
18
package.yaml
18
package.yaml
@ -295,17 +295,17 @@ executables:
|
|||||||
when:
|
when:
|
||||||
- condition: flag(library-only)
|
- condition: flag(library-only)
|
||||||
buildable: false
|
buildable: false
|
||||||
- condition: flag(dev)
|
# - condition: flag(dev)
|
||||||
buildable: false
|
# buildable: false
|
||||||
ghc-options:
|
ghc-options:
|
||||||
- -threaded -rtsopts "-with-rtsopts=-N -T"
|
- -threaded -rtsopts "-with-rtsopts=-N -T"
|
||||||
uniworxdev:
|
# uniworxdev:
|
||||||
<<: *uniworxexe
|
# <<: *uniworxexe
|
||||||
when:
|
# when:
|
||||||
- condition: flag(library-only)
|
# - condition: flag(library-only)
|
||||||
buildable: false
|
# buildable: false
|
||||||
- condition: "!flag(dev)"
|
# - condition: "!flag(dev)"
|
||||||
buildable: false
|
# buildable: false
|
||||||
uniworxdb:
|
uniworxdb:
|
||||||
main: Database.hs
|
main: Database.hs
|
||||||
ghc-options:
|
ghc-options:
|
||||||
|
|||||||
Reference in New Issue
Block a user