Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
82c0206c
Commit
82c0206c
authored
Sep 15, 2015
by
Omar Al-Ithawi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added messages after assets process steps
parent
68198845
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
pavelib/assets.py
+6
-0
No files found.
pavelib/assets.py
View file @
82c0206c
...
...
@@ -187,6 +187,8 @@ def compile_sass(options):
sh
(
cmd
(
*
parts
))
print
(
"
\t\t
Finished compiling sass."
)
def
compile_templated_sass
(
systems
,
settings
):
"""
...
...
@@ -196,6 +198,7 @@ def compile_templated_sass(systems, settings):
"""
for
sys
in
systems
:
sh
(
django_cmd
(
sys
,
settings
,
'preprocess_assets'
))
print
(
"
\t\t
Finished preprocessing {} assets."
.
format
(
sys
))
def
process_xmodule_assets
():
...
...
@@ -203,6 +206,7 @@ def process_xmodule_assets():
Process XModule static assets.
"""
sh
(
'xmodule_assets common/static/xmodule'
)
print
(
"
\t\t
Finished processing xmodule assets."
)
def
restart_django_servers
():
...
...
@@ -216,6 +220,7 @@ def restart_django_servers():
"touch"
,
'lms/urls.py'
,
'cms/urls.py'
,
))
def
collect_assets
(
systems
,
settings
):
"""
Collect static assets, including Django pipeline processing.
...
...
@@ -224,6 +229,7 @@ def collect_assets(systems, settings):
"""
for
sys
in
systems
:
sh
(
django_cmd
(
sys
,
settings
,
"collectstatic --noinput > /dev/null"
))
print
(
"
\t\t
Finished collecting {} assets."
.
format
(
sys
))
@task
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment