@@ -181,10 +181,6 @@ errcheck:
181181 fi
182182 errcheck $(PACKAGES )
183183
184- .PHONY : lint
185- lint :
186- @echo ' make lint is depricated. Use "make revive" if you want to use the old lint tool, or "make golangci-lint" to run a complete code check.'
187-
188184.PHONY : revive
189185revive :
190186 @hash revive > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
@@ -279,7 +275,6 @@ test-mysql\#%: integrations.mysql.test generate-ini-mysql
279275test-mysql-migration : migrations.mysql.test generate-ini-mysql
280276 GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./migrations.mysql.test
281277
282-
283278generate-ini-mysql8 :
284279 sed -e ' s|{{TEST_MYSQL8_HOST}}|${TEST_MYSQL8_HOST}|g' \
285280 -e ' s|{{TEST_MYSQL8_DBNAME}}|${TEST_MYSQL8_DBNAME}|g' \
@@ -299,7 +294,6 @@ test-mysql8\#%: integrations.mysql8.test generate-ini-mysql8
299294test-mysql8-migration : migrations.mysql8.test generate-ini-mysql8
300295 GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql8.ini ./migrations.mysql8.test
301296
302-
303297generate-ini-pgsql :
304298 sed -e ' s|{{TEST_PGSQL_HOST}}|${TEST_PGSQL_HOST}|g' \
305299 -e ' s|{{TEST_PGSQL_DBNAME}}|${TEST_PGSQL_DBNAME}|g' \
@@ -319,7 +313,6 @@ test-pgsql\#%: integrations.pgsql.test generate-ini-pgsql
319313test-pgsql-migration : migrations.pgsql.test generate-ini-pgsql
320314 GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./migrations.pgsql.test
321315
322-
323316generate-ini-mssql :
324317 sed -e ' s|{{TEST_MSSQL_HOST}}|${TEST_MSSQL_HOST}|g' \
325318 -e ' s|{{TEST_MSSQL_DBNAME}}|${TEST_MSSQL_DBNAME}|g' \
@@ -339,7 +332,6 @@ test-mssql\#%: integrations.mssql.test generate-ini-mssql
339332test-mssql-migration : migrations.mssql.test generate-ini-mssql
340333 GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mssql.ini ./migrations.mssql.test
341334
342-
343335.PHONY : bench-sqlite
344336bench-sqlite : integrations.sqlite.test
345337 GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/sqlite.ini ./integrations.sqlite.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
@@ -356,7 +348,6 @@ bench-mssql: integrations.mssql.test generate-ini-mssql
356348bench-pgsql : integrations.pgsql.test generate-ini-pgsql
357349 GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.pgsql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
358350
359-
360351.PHONY : integration-test-coverage
361352integration-test-coverage : integrations.cover.test generate-ini-mysql
362353 GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./integrations.cover.test -test.coverprofile=integration.coverage.out
@@ -489,21 +480,6 @@ $(CSS_DEST): node_modules $(CSS_SOURCES)
489480 $(foreach file, $(filter-out web_src/less/themes/_base.less, $(wildcard web_src/less/themes/* ) ) ,npx lessc web_src/less/themes/$(notdir $(file ) ) > public/css/theme-$(notdir $(call strip-suffix,$(file ) ) ) .css;)
490481 npx postcss --use autoprefixer --use cssnano --no-map --replace public/css/*
491482
492- .PHONY : javascripts
493- javascripts :
494- echo " 'make javascripts' is deprecated, please use 'make js'"
495- $(MAKE ) js
496-
497- .PHONY : stylesheets-check
498- stylesheets-check :
499- echo " 'make stylesheets-check' is deprecated, please use 'make css'"
500- $(MAKE ) css
501-
502- .PHONY : generate-stylesheets
503- generate-stylesheets :
504- echo " 'make generate-stylesheets' is deprecated, please use 'make css'"
505- $(MAKE ) css
506-
507483.PHONY : swagger-ui
508484swagger-ui :
509485 rm -Rf public/vendor/assets/swagger-ui
0 commit comments