mirror of
https://github.com/nextcloud/server.git
synced 2024-12-26 23:18:39 +00:00
5c49a54801
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
37 lines
501 B
Makefile
37 lines
501 B
Makefile
# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
|
|
# SPDX-License-Identifier: AGPL-3.0-or-later
|
|
all: clean dev-setup build-js-production
|
|
|
|
# Dev env management
|
|
dev-setup: clean npm-init
|
|
|
|
npm-init:
|
|
npm ci
|
|
|
|
npm-update:
|
|
npm update
|
|
|
|
# Building
|
|
build-js:
|
|
npm run dev
|
|
|
|
build-js-production:
|
|
npm run build
|
|
|
|
watch-js:
|
|
npm run watch
|
|
|
|
# Linting
|
|
lint-fix:
|
|
npm run lint:fix
|
|
|
|
lint-fix-watch:
|
|
npm run lint:fix-watch
|
|
|
|
# Cleaning
|
|
clean:
|
|
rm -rf dist
|
|
|
|
clean-git: clean
|
|
git checkout -- dist
|