Skip to content

Instantly share code, notes, and snippets.

View mseijas's full-sized avatar

Matias Seijas mseijas

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="[1password http login]/signin" />
<title>1Password Recovery</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
#!/bin/bash
# fail if any commands fails
set +e
# debug log
# set -x
lastTag="$(git describe --tags --abbrev=0)"
set -e
#!/bin/bash
# fail if any commands fails
set -e
# debug log
# set -x
# Settings
export version_prefix="v"
export version_number=$XPI_VERSION
export pre_release_identifier_prefix="-"
#!/bin/bash
# fail if any commands fails
set -e
# debug log
# set -x
export push="true"
export tag=$APP_VERSION_WITH_PRE_RELEASE_INFO
export tag_message=$APP_VERSION_WITH_PRE_RELEASE_INFO
excluded:
- Carthage
- Pods
disabled_rules:
- force_try
- nesting
- variable_name
- function_parameter_count
- type_name
const SocialNetworkProxy = artifacts.require('SocialNetworkProxy')
const SocialNetworkV1 = artifacts.require('SocialNetworkV1')
module.exports = deployer => {
deployer.then(async () => {
let proxy, socialNetworkV1
// 1. Deploy SocialNetworkProxy
proxy = await deployer.deploy(SocialNetworkProxy)
const SocialNetworkProxy = artifacts.require('SocialNetworkProxy')
const SocialNetworkV1 = artifacts.require('SocialNetworkV1')
contract('SocialNetworkProxy', async () => {
let proxy, socialNetworkProxy, socialNetworkV1
before(async () => {
proxy = await SocialNetworkProxy.deployed()
socialNetworkProxy = SocialNetworkV1.at(proxy.address)
socialNetworkV1 = await SocialNetworkV1.deployed()
const SocialNetworkProxy = artifacts.require('SocialNetworkProxy')
const SocialNetworkV1 = artifacts.require('SocialNetworkV1')
contract('SocialNetworkProxy', async () => {
let proxy, socialNetworkProxy, socialNetworkV1
before(async () => {
proxy = await SocialNetworkProxy.deployed()
socialNetworkV1 = await SocialNetworkV1.deployed()
})
const SocialNetworkProxy = artifacts.require('SocialNetworkProxy')
const SocialNetworkV1 = artifacts.require('SocialNetworkV1')
module.exports = deployer => {
deployer.then(async () => {
let proxy, socialNetworkV1
// 1. Deploy SocialNetworkProxy
proxy = await deployer.deploy(SocialNetworkProxy)
const SocialNetworkProxy = artifacts.require('SocialNetworkProxy')
const SocialNetworkV1 = artifacts.require('SocialNetworkV1')
const SocialNetworkV2 = artifacts.require('SocialNetworkV2')
module.exports = (deployer, network, accounts) => {
deployer.then(async () => {
/***********************************
* 1. INITIAL DEPLOYMENT
***********************************/
let proxy, socialNetworkV1, proxySocialNetwork