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
#!/usr/bin/env python | |
import os | |
import sys | |
script_dir = os.path.dirname(__file__) | |
node_root = os.path.abspath(os.path.join(script_dir, os.pardir)) | |
module_root = os.getcwd() | |
if sys.platform == 'win32': | |
output_dir = os.path.join(module_root, 'build') | |
else: |
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
# Publish Event - Redis Transport | |
redis = require('redis') | |
subscriptions = require('../../websocket/subscriptions') | |
module.exports = (config = {}) -> | |
# REMOVE_BEFORE_0.3.0 | |
throw new Error("Note the {redis: {}} object wrapper was removed in 0.3 alpha3. Please pass any Redis server options to ss.session.store.use('redis') and ss.publish.transport.use('redis') directly.") if config.redis |