Browse Source

Use env if available

old/redesign
Ruud 10 years ago
parent
commit
3c579659f3
  1. 3
      Gruntfile.js

3
Gruntfile.js

@ -8,6 +8,7 @@ module.exports = function(grunt){
// Configurable paths
var config = {
python: grunt.file.exists('./_env/bin/python') ? './_env/bin/python' : 'python',
tmp: '.tmp',
base: 'couchpotato',
css_dest: 'couchpotato/static/style/combined.min.css',
@ -140,7 +141,7 @@ module.exports = function(grunt){
shell: {
runCouchPotato: {
command: 'python CouchPotato.py',
command: '<%= config.python %> CouchPotato.py',
options: {
stdout: true,
stderr: true

Loading…
Cancel
Save