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
var gcloud = require('gcloud'); | |
var uuid = require('uuid'); | |
// Google Cloud Storage Bucket Name | |
const BUCKET_NAME = 'bucket-name'; | |
// Google Developer Console project ID | |
const PROJECT_ID = 'project-1234'; | |
/* Google Developer Console -> API Manager -> Credentials -> | |
Add credentials -> Service account -> JSON -> Create */ | |
const KEY_FILENAME = 'project-0d3d97832ca7.json' // relative path |
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 ruby | |
require 'rubygems' | |
require 'xcodeproj' | |
name = 'test_copy' | |
proj = Xcodeproj::Project.open('test.xcodeproj') | |
src_target = proj.targets.find { |item| item.to_s == 'test' } |