remove make upload
This commit is contained in:
parent
0b982a326d
commit
ce6524bb26
1 changed files with 16 additions and 20 deletions
36
Makefile
36
Makefile
|
@ -1,20 +1,16 @@
|
|||
DIRNAME=$(notdir $(CURDIR))
|
||||
|
||||
PROD_DIR=/srv/think.somethingorotherwhatever.com/thinks/static/thinks
|
||||
|
||||
ELMS=$(wildcard src/*.elm)
|
||||
|
||||
deploy: $(PROD_DIR)/think-editor.js $(PROD_DIR)/load-think-editor.mjs $(PROD_DIR)/think-editor.css $(PROD_DIR)/code-editor.mjs
|
||||
|
||||
build: dist/think-editor.js
|
||||
|
||||
dist/think-editor.js: src/App.elm $(ELMS)
|
||||
-elm make $< --output=$@ 2> error.txt
|
||||
@cat error.txt
|
||||
|
||||
$(PROD_DIR)/%: dist/%
|
||||
cp $< $@
|
||||
|
||||
upload: app.js index.html style.css
|
||||
rsync -avz . clpland:~/domains/somethingorotherwhatever.com/html/$(DIRNAME)
|
||||
@echo "Uploaded to https://somethingorotherwhatever.com/$(DIRNAME)"
|
||||
DIRNAME=$(notdir $(CURDIR))
|
||||
|
||||
PROD_DIR=/srv/think.somethingorotherwhatever.com/thinks/static/thinks
|
||||
|
||||
ELMS=$(wildcard src/*.elm)
|
||||
|
||||
deploy: $(PROD_DIR)/think-editor.js $(PROD_DIR)/load-think-editor.mjs $(PROD_DIR)/think-editor.css $(PROD_DIR)/code-editor.mjs
|
||||
|
||||
build: dist/think-editor.js
|
||||
|
||||
dist/think-editor.js: src/App.elm $(ELMS)
|
||||
-elm make $< --output=$@ 2> error.txt
|
||||
@cat error.txt
|
||||
|
||||
$(PROD_DIR)/%: dist/%
|
||||
cp $< $@
|
Loading…
Reference in a new issue