mentorenwahl/Makefile

29 lines
932 B
Makefile
Raw Permalink Normal View History

2022-02-16 20:45:39 +00:00
# Mentorenwahl: A fullstack application for assigning mentors to students based on their whishes.
# Copyright (C) 2022 Dominic Grimm
2022-03-07 13:06:02 +00:00
#
2022-02-16 20:45:39 +00:00
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
2022-03-07 13:06:02 +00:00
#
2022-02-16 20:45:39 +00:00
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
2022-03-07 13:06:02 +00:00
#
2022-02-16 20:45:39 +00:00
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
.PHONY: all dev prod docs
all: prod
2022-02-16 20:45:39 +00:00
dev:
2023-03-05 12:52:30 +00:00
docker compose build --build-arg BUILD_ENV=development
2022-02-16 20:45:39 +00:00
prod:
2023-03-05 12:52:30 +00:00
docker compose build
2022-02-16 20:45:39 +00:00
docs:
cd docs && mdbook build