This file contains hidden or 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
require 'fileutils' | |
require 'optimist' | |
require 'plist' | |
def run(path, source_path) | |
process(path, source_path, '**/*.app', true) | |
process(path, source_path, '**/*.dylib', false) | |
end | |
def process(path, source_path, search_pattern, is_app) |
This file contains hidden or 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
use vlaad_production | |
db.statistics_port_states.drop() | |
db.statistics_summaries.drop() | |
db.subscriptions.drop() | |
db.tests.drop() | |
var collectionNames = db.getCollectionNames(); | |
for(var i = 0, len = collectionNames.length; i < len ; i++){ | |
var collectionName = collectionNames[i]; | |
if(collectionName.indexOf('statistics_results_') == 0){ |
This file contains hidden or 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
use vlaad_production | |
db.statistics_port_states.drop() | |
db.statistics_summaries.drop() | |
db.subscriptions.drop() | |
db.tests.drop() | |
var collectionNames = db.getCollectionNames(); | |
for(var i = 0, len = collectionNames.length; i < len ; i++){ | |
var collectionName = collectionNames[i]; | |
if(collectionName.indexOf('project_stats_') == 0){ |