-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
68 lines (52 loc) · 1.78 KB
/
Makefile
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
PLUGIN_NAME = example-plugin
PLUGIN_PATH = easydb-example-plugin
INSTALL_FILES = \
$(WEB)/l10n/cultures.json \
$(WEB)/l10n/de-DE.json \
$(WEB)/l10n/en-US.json \
$(CSS) \
$(WEB)/example-plugin.js \
build/node_modules \
build/update/example-update.js \
build/webhooks/example.js \
src/server/example.py \
manifest.yml
# XXX: unavailable languages
# $(WEB)/l10n/es-ES.json \
# $(WEB)/l10n/it-IT.json \
L10N_FILES = l10n/example-plugin.csv
L10N_GOOGLE_KEY = 1Z3UPJ6XqLBp-P8SUf-ewq4osNJ3iZWKJB83tc6Wrfn0
L10N_GOOGLE_GID = 1105524345
SCSS_FILES = src/webfrontend/example-plugin.scss
WEBHOOK_NAME = example
WEBHOOK_FILES = src/webhooks/Example.coffee
COFFEE_FILES = \
src/webfrontend/ExampleTrayApp.coffee \
src/webfrontend/ExampleBaseConfig.coffee \
src/webfrontend/ExamplePoolPlugin.coffee \
src/webfrontend/ExampleUserPlugin.coffee \
src/webfrontend/ExampleAssetDetail3D.coffee \
src/webfrontend/ExampleCustomDataType.coffee \
src/webfrontend/ExampleMaskSplitterSimple.coffee \
src/webfrontend/ExampleMaskSplitterBlock.coffee \
src/webfrontend/ExampleDetailSidebarPlugin.coffee \
src/webfrontend/ExampleExportManagerPlugin.coffee \
src/webfrontend/ExamplePdfCreatorNode.coffee \
src/webfrontend/ExampleRootApp.coffee \
src/webfrontend/ExampleTransitionAction.coffee \
src/webfrontend/ExampleFilePicker.coffee
# EditorPlugin is not built in per default, its to annoying during testing.
# src/webfrontend/ExampleEditorPlugin.coffee
all: build
include easydb-library/tools/base-plugins.make
build: code css npm_ci updater buildinfojson
updater:
./node_modules/webpack/bin/webpack.js --config src/update/webpack.config.js
npm_ci:
npm ci
cp -r node_modules build/node_modules
npm_install:
npm install
cp -r node_modules build/node_modules
code: $(JS) $(L10N) $(WEBHOOK_JS)
clean: clean-base