Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
Merge ae6f580 into 11de35a
Browse files Browse the repository at this point in the history
  • Loading branch information
tiborsimko committed Feb 14, 2017
2 parents 11de35a + ae6f580 commit 83898d5
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
# Copyright (C) 2016, 2017 CERN.
#
# Invenio is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -62,7 +62,7 @@
cd static
npm install
cd ..
npm install -g node-sass clean-css requirejs uglify-js
npm install -g node-sass@3.8.0 clean-css@3.4.24 requirejs uglify-js
5. Collect static files and build bundles
Expand Down
3 changes: 2 additions & 1 deletion examples/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
# Copyright (C) 2016, 2017 CERN.
#
# Invenio is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
Expand All @@ -24,5 +24,6 @@

-e ..[all]
invenio-assets>=1.0.0a4,<1.1
invenio-i18n==1.0.0b1
invenio-pidstore>=1.0.0a7,<1.1
invenio-theme>=1.0.0a9,<1.1
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
# Copyright (C) 2016, 2017 CERN.
#
# Invenio is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -68,7 +68,7 @@
install_requires = [
'Flask>=0.11.1',
'Flask-BabelEx>=0.9.2',
'dojson>=1.2.0',
'dojson>=1.3.0',
'invenio-jsonschemas>=1.0.0a2',
'invenio-records-rest>=1.0.0a9',
'invenio-records-ui>=1.0.0a6',
Expand Down
5 changes: 3 additions & 2 deletions tests/test_example_app.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
#
# This file is part of Invenio.
# Copyright (C) 2016 CERN.
# Copyright (C) 2016, 2017 CERN.
#
# Invenio is free software; you can redistribute it
# and/or modify it under the terms of the GNU General Public License as
Expand Down Expand Up @@ -72,7 +72,8 @@ def test_example_app():
# Download javascript and css libraries
for cmd in ['FLASK_APP=app.py flask npm',
'cd static && npm install && cd ..',
'npm install -g node-sass clean-css requirejs uglify-js',
'npm install -g node-sass@3.8.0 clean-css@3.4.24'
' requirejs uglify-js',
'FLASK_APP=app.py flask collect -v',
'FLASK_APP=app.py flask assets build']:
exit_status = subprocess.call(cmd, shell=True)
Expand Down

0 comments on commit 83898d5

Please sign in to comment.