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
|
||||
|
||||
# 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_HTTPS=`cat $(CONTAINER_FILE) | grep 'DEV_PORT_HTTPS=' | sed 's/DEV_PORT_HTTPS=//'`; \
|
||||
export HOST=`hostname -s` ; \
|
||||
|
||||
@ -21,6 +21,8 @@ ENV STACK_ROOT="${PROJECT_DIR}/.stack"
|
||||
WORKDIR "${PROJECT_DIR}/.job-${JOB}"
|
||||
ENV HOME="${PROJECT_DIR}/.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
|
||||
|
||||
ENV FRADRIVE_MAKE_TARGET=--start-backend
|
||||
|
||||
18
package.yaml
18
package.yaml
@ -295,17 +295,17 @@ executables:
|
||||
when:
|
||||
- condition: flag(library-only)
|
||||
buildable: false
|
||||
- condition: flag(dev)
|
||||
buildable: false
|
||||
# - condition: flag(dev)
|
||||
# buildable: false
|
||||
ghc-options:
|
||||
- -threaded -rtsopts "-with-rtsopts=-N -T"
|
||||
uniworxdev:
|
||||
<<: *uniworxexe
|
||||
when:
|
||||
- condition: flag(library-only)
|
||||
buildable: false
|
||||
- condition: "!flag(dev)"
|
||||
buildable: false
|
||||
# uniworxdev:
|
||||
# <<: *uniworxexe
|
||||
# when:
|
||||
# - condition: flag(library-only)
|
||||
# buildable: false
|
||||
# - condition: "!flag(dev)"
|
||||
# buildable: false
|
||||
uniworxdb:
|
||||
main: Database.hs
|
||||
ghc-options:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user