Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Makefile - github.com/icewind1991/files_markdown.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ea5e4df828ea50759d76b9f83caff578231ecd2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
app_name=files_markdown
project_dir=$(CURDIR)/../$(app_name)
build_dir=$(CURDIR)/build/artifacts
sign_dir=$(build_dir)/sign
cert_dir=$(HOME)/.nextcloud/certificates

all: build/editor.js

sources=$(wildcard js/*.ts) $(wildcard js/*/*.ts) tsconfig.json .babelrc webpack.config.js

.PHONY: watch
watch: node_modules
	node_modules/.bin/webpack --watch --mode development

clean:
	rm -rf $(build_dir) node_modules

node_modules: package.json
	npm install

CHANGELOG.md: node_modules
	node_modules/.bin/changelog

build/editor.js: $(sources) node_modules
	node_modules/.bin/webpack --mode production