Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
code.vt.edu will be down for maintenance from 0530-0630 EDT Wednesday, March 26th
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
82c0206c
Commit
82c0206c
authored
9 years ago
by
Omar Al-Ithawi
Browse files
Options
Downloads
Patches
Plain Diff
Added messages after assets process steps
parent
68198845
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pavelib/assets.py
+6
-0
6 additions, 0 deletions
pavelib/assets.py
with
6 additions
and
0 deletions
pavelib/assets.py
+
6
−
0
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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment