-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
20 lines (14 loc) · 948 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
BUILDCONFDIR=SDG-Api-build
GENERATECMD=php vendor/bin/jane-openapi generate --config-file
all: statistics uniqueid feedbackquality feedbackqualitysurvey
statistics: $(BUILDCONFDIR)/statistics-information.yml $(BUILDCONFDIR)/janeconf-statistics-information.php
$(GENERATECMD) $(BUILDCONFDIR)/janeconf-statistics-information.php
uniqueid: $(BUILDCONFDIR)/unique-id.yml $(BUILDCONFDIR)/janeconf-unique-id.php
$(GENERATECMD) $(BUILDCONFDIR)/janeconf-unique-id.php
feedbackquality: $(BUILDCONFDIR)/feedback-quality.yml $(BUILDCONFDIR)/janeconf-feedback-quality.php
$(GENERATECMD) $(BUILDCONFDIR)/janeconf-feedback-quality.php
feedbackqualitysurvey: $(BUILDCONFDIR)/feedback-quality-survey.yml $(BUILDCONFDIR)/janeconf-feedback-quality-survey.php
$(GENERATECMD) $(BUILDCONFDIR)/janeconf-feedback-quality-survey.php
scope:
${HOME}/.composer/vendor/bin/php-scoper add-prefix --output-dir=scoped --force && \
cd scoped && composer dump-autoload