Skip to content

Commit

Permalink
Add error html
Browse files Browse the repository at this point in the history
  • Loading branch information
aclark4life committed May 4, 2024
1 parent 5fc3d2b commit 5059b84
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -708,10 +708,14 @@ define HOME_PAGE_TEMPLATE
{% endblock %}
endef

define INDEX_HTML
define HTML_INDEX
<h1>Hello world</h1>
endef

define HTML_ERROR
<h1>500</h1>
endef

define JENKINS_FILE
pipeline {
agent any
Expand Down Expand Up @@ -1696,12 +1700,13 @@ export FRONTEND_COMPONENTS
export FRONTEND_PORTAL
export FRONTEND_STYLES
export GIT_IGNORE
export HTML_ERROR
export HTML_INDEX
export HOME_PAGE_MODEL
export HOME_PAGE_TEMPLATE
export HTML_FOOTER
export HTML_HEADER
export HTML_OFFCANVAS
export INDEX_HTML
export INTERNAL_IPS
export JENKINS_FILE
export MODEL_FORM_TEST_ADMIN
Expand Down Expand Up @@ -2125,8 +2130,11 @@ help-default:
| xargs | tr ' ' '\n' \
| awk '{printf "%s\n", $$0}' ; done | less # http://stackoverflow.com/a/26339924

index-default:
@echo "$$INDEX_HTML" > index.html
html-index-default:
@echo "$$HTML_INDEX" > index.html

html-error-default:
@echo "$$HTML_ERROR" > error.html

jenkins-init-default:
@echo "$$JENKINS_FILE" > Jenkinsfile
Expand Down

0 comments on commit 5059b84

Please sign in to comment.