v1.0.9 changes from 1.1.1
This commit is contained in:
14
Makefile
14
Makefile
@@ -100,6 +100,9 @@ node_modules: package.json
|
||||
$(TARGET_DIR)/%: src/resources/%
|
||||
install -D $< $@
|
||||
|
||||
src/svelte-components/dist/%:
|
||||
cd src/svelte-components && rm -rf dist && npm run build
|
||||
|
||||
$(TARGET_DIR)/index.html: build/templates.pug
|
||||
$(TARGET_DIR)/index.html: $(wildcard src/static/js/*)
|
||||
$(TARGET_DIR)/index.html: $(wildcard src/static/css/*)
|
||||
@@ -108,9 +111,16 @@ $(TARGET_DIR)/index.html: $(wildcard src/js/*)
|
||||
$(TARGET_DIR)/index.html: $(wildcard src/stylus/*)
|
||||
$(TARGET_DIR)/index.html: src/resources/config-template.json
|
||||
$(TARGET_DIR)/index.html: $(wildcard src/resources/onefinity*defaults.json)
|
||||
$(TARGET_DIR)/index.html: $(wildcard src/svelte-components/dist/*)
|
||||
|
||||
$(TARGET_DIR)/%.html: src/pug/%.pug node_modules
|
||||
@mkdir -p $(shell dirname $@)
|
||||
FORCE:
|
||||
|
||||
$(TARGET_DIR)/%.html: src/pug/%.pug node_modules FORCE
|
||||
cd src/svelte-components && rm -rf dist && npm run build
|
||||
@mkdir -p $(TARGET_DIR)/svelte-components
|
||||
cp src/svelte-components/dist/* $(TARGET_DIR)/svelte-components/
|
||||
|
||||
@mkdir -p $(TARGET_DIR)
|
||||
$(PUG) -O pug-opts.js -P $< -o $(TARGET_DIR) || (rm -f $@; exit 1)
|
||||
|
||||
pylint:
|
||||
|
||||
Reference in New Issue
Block a user