Adjustments to makefile
Compass will compile on first run (instead of having to make a change to a sass file) Stop command won't kill virtualbox processes that are also named "mattermost". If we're going to wildcard kill processes, let's not go overboard.
Этот коммит содержится в:
4
Makefile
4
Makefile
@@ -283,7 +283,7 @@ run: start-docker .prepare-go .prepare-jsx
|
||||
$(GO) run $(GOFLAGS) mattermost.go -config=config.json &
|
||||
|
||||
@echo Starting compass watch
|
||||
cd web/sass-files && compass watch &
|
||||
cd web/sass-files && compass compile && compass watch &
|
||||
|
||||
stop:
|
||||
@for PID in $$(ps -ef | grep [c]ompass | awk '{ print $$2 }'); do \
|
||||
@@ -296,7 +296,7 @@ stop:
|
||||
kill $$PID; \
|
||||
done
|
||||
|
||||
@for PID in $$(ps -ef | grep [m]atterm | awk '{ print $$2 }'); do \
|
||||
@for PID in $$(ps -ef | grep [m]atterm | grep -v VirtualBox | awk '{ print $$2 }'); do \
|
||||
echo stopping go web $$PID; \
|
||||
kill $$PID; \
|
||||
done
|
||||
|
||||
Ссылка в новой задаче
Block a user