mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 04:31:21 -03:30
Use custom watcher script for less CPU pegging
This commit is contained in:
parent
d9a33fad94
commit
e3f3b4e78c
3
Makefile
3
Makefile
@ -4,6 +4,7 @@ OFFICIAL ?= no
|
||||
PACKER ?= packer
|
||||
GRUNT ?= $(shell [ -t 0 ] && echo "grunt" || echo "grunt --no-color")
|
||||
BROCCOLI ?= ./node_modules/.bin/broccoli
|
||||
NODE ?= node
|
||||
|
||||
# Get the branch information from git
|
||||
GIT_DATE := $(shell git log -n 1 --format="%ai")
|
||||
@ -273,7 +274,7 @@ package.json:
|
||||
sed -e 's#%NAME%#$(NAME)#;s#%VERSION%#$(VERSION)#;s#%GIT_REMOTE_URL%#$(GIT_REMOTE_URL)#;' packaging/grunt/package.template > $@
|
||||
|
||||
sync_ui: node_modules
|
||||
./node_modules/.bin/broccoli-timepiece awx/ui/static/dist
|
||||
$(NODE) tools/ui/timepiece.js awx/ui/static/dist
|
||||
|
||||
# Update local npm install
|
||||
node_modules: Gruntfile.js Brocfile.js bower.json package.json
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user