@@ -181,10 +181,6 @@ errcheck:
181
181
fi
182
182
errcheck $(PACKAGES )
183
183
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
-
188
184
.PHONY : revive
189
185
revive :
190
186
@hash revive > /dev/null 2>&1 ; if [ $$ ? -ne 0 ]; then \
@@ -279,7 +275,6 @@ test-mysql\#%: integrations.mysql.test generate-ini-mysql
279
275
test-mysql-migration : migrations.mysql.test generate-ini-mysql
280
276
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql.ini ./migrations.mysql.test
281
277
282
-
283
278
generate-ini-mysql8 :
284
279
sed -e ' s|{{TEST_MYSQL8_HOST}}|${TEST_MYSQL8_HOST}|g' \
285
280
-e ' s|{{TEST_MYSQL8_DBNAME}}|${TEST_MYSQL8_DBNAME}|g' \
@@ -299,7 +294,6 @@ test-mysql8\#%: integrations.mysql8.test generate-ini-mysql8
299
294
test-mysql8-migration : migrations.mysql8.test generate-ini-mysql8
300
295
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mysql8.ini ./migrations.mysql8.test
301
296
302
-
303
297
generate-ini-pgsql :
304
298
sed -e ' s|{{TEST_PGSQL_HOST}}|${TEST_PGSQL_HOST}|g' \
305
299
-e ' s|{{TEST_PGSQL_DBNAME}}|${TEST_PGSQL_DBNAME}|g' \
@@ -319,7 +313,6 @@ test-pgsql\#%: integrations.pgsql.test generate-ini-pgsql
319
313
test-pgsql-migration : migrations.pgsql.test generate-ini-pgsql
320
314
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./migrations.pgsql.test
321
315
322
-
323
316
generate-ini-mssql :
324
317
sed -e ' s|{{TEST_MSSQL_HOST}}|${TEST_MSSQL_HOST}|g' \
325
318
-e ' s|{{TEST_MSSQL_DBNAME}}|${TEST_MSSQL_DBNAME}|g' \
@@ -339,7 +332,6 @@ test-mssql\#%: integrations.mssql.test generate-ini-mssql
339
332
test-mssql-migration : migrations.mssql.test generate-ini-mssql
340
333
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/mssql.ini ./migrations.mssql.test
341
334
342
-
343
335
.PHONY : bench-sqlite
344
336
bench-sqlite : integrations.sqlite.test
345
337
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
356
348
bench-pgsql : integrations.pgsql.test generate-ini-pgsql
357
349
GITEA_ROOT=${CURDIR} GITEA_CONF=integrations/pgsql.ini ./integrations.pgsql.test -test.cpuprofile=cpu.out -test.run DontRunTests -test.bench .
358
350
359
-
360
351
.PHONY : integration-test-coverage
361
352
integration-test-coverage : integrations.cover.test generate-ini-mysql
362
353
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)
489
480
$(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;)
490
481
npx postcss --use autoprefixer --use cssnano --no-map --replace public/css/*
491
482
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
-
507
483
.PHONY : swagger-ui
508
484
swagger-ui :
509
485
rm -Rf public/vendor/assets/swagger-ui
0 commit comments