mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-31 21:41:33 +00:00
Turning off use strict in prep for turning it right back on in the magazine branch.
This commit is contained in:
parent
170529682a
commit
d7b81d7b68
2 changed files with 21 additions and 21 deletions
|
@ -81,15 +81,6 @@
|
||||||
- never
|
- never
|
||||||
- static
|
- static
|
||||||
|
|
||||||
- name: Pull newsblur_web github
|
|
||||||
git:
|
|
||||||
repo: https://github.com/samuelclay/NewsBlur.git
|
|
||||||
dest: /srv/newsblur/
|
|
||||||
version: master
|
|
||||||
register: pulled
|
|
||||||
tags:
|
|
||||||
- static
|
|
||||||
|
|
||||||
- name: Downloading JS/CSS assets from S3
|
- name: Downloading JS/CSS assets from S3
|
||||||
vars:
|
vars:
|
||||||
ansible_python_interpreter: /usr/bin/python3
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
|
@ -115,18 +106,27 @@
|
||||||
- never
|
- never
|
||||||
- static
|
- static
|
||||||
|
|
||||||
- name: Reload gunicorn
|
- name: Pull newsblur_web github
|
||||||
become: yes
|
git:
|
||||||
block:
|
repo: https://github.com/samuelclay/NewsBlur.git
|
||||||
- name: Find gunicorn master process
|
dest: /srv/newsblur/
|
||||||
shell: "ps -C gunicorn fch -o pid | head -n 1"
|
version: master
|
||||||
register: psaux
|
register: pulled
|
||||||
- name: Reload gunicorn
|
|
||||||
command: "kill -HUP {{ psaux.stdout }}"
|
|
||||||
# when: pulled.changed
|
|
||||||
tags:
|
tags:
|
||||||
- static
|
- static
|
||||||
- never
|
|
||||||
|
# - name: Reload gunicorn
|
||||||
|
# become: yes
|
||||||
|
# block:
|
||||||
|
# - name: Find gunicorn master process
|
||||||
|
# shell: "ps -C gunicorn fch -o pid | head -n 1"
|
||||||
|
# register: psaux
|
||||||
|
# - name: Reload gunicorn
|
||||||
|
# command: "kill -HUP {{ psaux.stdout }}"
|
||||||
|
# # when: pulled.changed
|
||||||
|
# tags:
|
||||||
|
# - static
|
||||||
|
# - never
|
||||||
|
|
||||||
- name: Start Consul
|
- name: Start Consul
|
||||||
become: yes
|
become: yes
|
||||||
|
|
|
@ -813,7 +813,7 @@ PIPELINE = {
|
||||||
# 'CSS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
|
# 'CSS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
|
||||||
# 'JS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
|
# 'JS_COMPRESSOR': 'pipeline.compressors.NoopCompressor',
|
||||||
'CLOSURE_BINARY': '/usr/bin/java -jar /usr/local/bin/compiler.jar',
|
'CLOSURE_BINARY': '/usr/bin/java -jar /usr/local/bin/compiler.jar',
|
||||||
'CLOSURE_ARGUMENTS': '--language_in ECMASCRIPT_2016 --language_out ECMASCRIPT_2016 --warning_level DEFAULT',
|
'CLOSURE_ARGUMENTS': '--language_in ECMASCRIPT_2016 --language_out ECMASCRIPT_2016 --warning_level DEFAULT --emit_use_strict=false',
|
||||||
'JAVASCRIPT': {
|
'JAVASCRIPT': {
|
||||||
'common': {
|
'common': {
|
||||||
'source_filenames': assets['javascripts']['common'],
|
'source_filenames': assets['javascripts']['common'],
|
||||||
|
|
Loading…
Add table
Reference in a new issue