This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""This is main.py, where the main stuff happens. | |
""" | |
import sys | |
import os | |
# lets assume your file is in /home/oli/nuke_files/main.py | |
# | |
# __file__ is a magic variable which python automatically populates, and is the | |
# full path to the file which is currently being executed (i.e. this one), | |
# so __file__ == '/home/oli/nuke_files/main.py' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# simply run rake jammit:package to compile your coffeescript and then package up all your assets | |
# including the newly compiled javascripts | |
namespace :jammit do | |
task :package do | |
Rake::Task["barista:brew"].invoke | |
Jammit.package! | |
end | |
end |
NewerOlder