diff options
author | Satoe Imaishi <simaishi@redhat.com> | 2022-12-01 13:40:23 +0100 |
---|---|---|
committer | Satoe Imaishi <simaishi@redhat.com> | 2022-12-01 14:58:05 +0100 |
commit | 06daebbecf1bd88ee43a7fa5f441b156125dee9f (patch) | |
tree | 351acbc4edf76167f39855530fbe88d4dfc2652d | |
parent | add docs about max_forks and max_concurrent_jobs (diff) | |
download | awx-06daebbecf1bd88ee43a7fa5f441b156125dee9f.tar.xz awx-06daebbecf1bd88ee43a7fa5f441b156125dee9f.zip |
Copy UI static files to /var/lib/awx only for ui-devel build
-rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -389,18 +389,18 @@ $(UI_BUILD_FLAG_FILE): $(PYTHON) tools/scripts/compilemessages.py $(NPM_BIN) --prefix awx/ui --loglevel warn run compile-strings $(NPM_BIN) --prefix awx/ui --loglevel warn run build - mkdir -p /var/lib/awx/public/static/css - mkdir -p /var/lib/awx/public/static/js - mkdir -p /var/lib/awx/public/static/media - cp -r awx/ui/build/static/css/* /var/lib/awx/public/static/css - cp -r awx/ui/build/static/js/* /var/lib/awx/public/static/js - cp -r awx/ui/build/static/media/* /var/lib/awx/public/static/media touch $@ ui-release: $(UI_BUILD_FLAG_FILE) ui-devel: awx/ui/node_modules @$(MAKE) -B $(UI_BUILD_FLAG_FILE) + mkdir -p /var/lib/awx/public/static/css + mkdir -p /var/lib/awx/public/static/js + mkdir -p /var/lib/awx/public/static/media + cp -r awx/ui/build/static/css/* /var/lib/awx/public/static/css + cp -r awx/ui/build/static/js/* /var/lib/awx/public/static/js + cp -r awx/ui/build/static/media/* /var/lib/awx/public/static/media ui-devel-instrumented: awx/ui/node_modules $(NPM_BIN) --prefix awx/ui --loglevel warn run start-instrumented |