mentorenwahl/backend/Makefile

31 lines
1,001 B
Makefile
Raw Permalink Normal View History

2022-02-10 07:43:47 +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-10 07:43:47 +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-10 07:43:47 +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-10 07:43:47 +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/>.
2022-02-07 18:25:18 +00:00
.PHONY: all dev prod docs
all: prod
dev:
2022-10-31 08:47:26 +00:00
shards build -Dplayground --verbose -s -p -t
2022-02-07 18:25:18 +00:00
prod:
2022-10-31 08:47:26 +00:00
shards build --production --static --release --verbose -s -p -t
2022-02-07 18:25:18 +00:00
docs:
2023-03-09 17:19:53 +00:00
crystal docs \
-s -p -t \
--project-name="Mentorenwahl"