forked from phc/website
Added support for Sass
This commit is contained in:
@@ -3,16 +3,22 @@ GO_SOURCES = $(shell find . -name '*.go')
|
||||
GO_EXECUTABLE = phc-website-server
|
||||
|
||||
.PHONY: all
|
||||
all: js go
|
||||
all: frontend go
|
||||
|
||||
#
|
||||
# Build Frontend
|
||||
#
|
||||
|
||||
.PHONY: setup
|
||||
setup:
|
||||
mkdir -p public/js
|
||||
mkdir -p public/css
|
||||
|
||||
.PHONY: js
|
||||
js: setup
|
||||
.PHONY: frontend
|
||||
frontend: setup
|
||||
$(MAKE) -C frontend/
|
||||
cp frontend/dist/*.min.js public/js/
|
||||
cp frontend/dist/*.css public/css/
|
||||
|
||||
#
|
||||
# Build Server
|
||||
|
||||
Reference in New Issue
Block a user