Skip to content

Commit

Permalink
release wallet v0.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdurrent committed Nov 26, 2018
0 parents commit 593d7f0
Show file tree
Hide file tree
Showing 380 changed files with 62,491 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["es2016-node5"]
}
23 changes: 23 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
engines:
duplication:
enabled: true
config:
languages:
javascript:
mass_threshold: 40 ## default threshold
eslint:
enabled: true
channel: "eslint-3" ## required for airbnb-base config
checks:
complexity:
enabled: true
csslint:
enabled: true

ratings: ## enables GPA rating
paths:
- "**.css"
- "**.js"

exclude_paths:
- "tests/"
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yml}]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
interface/client/lib/signatures.js
47 changes: 47 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
extends: airbnb-base

plugins:
- import

settings:
import/core-modules: ## don't lint for these missing packages in package.json
- electron ## 'electron' is only needed as devDependency / global installation

rules:
# "off" or 0 - turn the rule off
# "warn" or 1 - turn the rule on as a warning (doesn’t affect exit code)
# "error" or 2 - turn the rule on as an error (exit code is 1 when triggered)
indent:
- error
- 4 ## number of spaces
no-console: off ## allowed for chrome dev-console
padded-blocks: off
arrow-body-style: off
prefer-arrow-callback: off
no-underscore-dangle: off
object-curly-spacing: off
func-names: off
global-require: off
class-methods-use-this: off
comma-dangle:
- error
- only-multiline ## no comma after last item if one line, though allow comma if multiline
import/no-extraneous-dependencies: ## checks if required modules are missing in packages.json
- error
- devDependencies: ## declares files, whose imports belong to devDependencies
- "**/tests/_base.js"
- "**/*.test.js"
- "**/gulpTasks/*.js"

globals: # don't warn about missing declarations
i18n: true
mist: true
beforeEach: true
LocalStore: true
web3: true
Tabs: true
Tracker: true
_: true
window: true
location: true
document: true
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
.idea
.DS_Store
interface/public/
interface/yarn.lock
node_modules/
interface_build/
dist_wallet/
dist_mist/
nodes/geth/
mist.log
npm-debug.log
/yarn.lock
tests/
package-lock.json
yarn-error.log
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "dapp-styles"]
path = interface/public/dapp-styles
url = git://github.com/ethereum/dapp-styles.git
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
7.4
94 changes: 94 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
language: node_js
sudo: required

branches:
only:
- develop
- master

matrix:
include:

# WINDOWS cross-built from linux
- os: linux
dist: trusty
node_js: 6
env:
- GULP_PLATFORM=win
addons:
apt:
packages:
- icnsutils
- graphicsmagick
- xz-utils
- nsis
sources:
- mono
before_install:
- sudo dpkg --add-architecture i386 && sudo add-apt-repository ppa:ubuntu-wine/ppa -y
- sudo apt-get update -q
- sudo apt-get install --no-install-recommends -y mono-devel ca-certificates-mono wine1.8


# LINUX
- os: linux
dist: trusty
node_js: 6
env:
- GULP_PLATFORM=linux
addons:
apt:
packages:
- icnsutils
- graphicsmagick
- xz-utils
- gcc-multilib
- g++-multilib

# MAC
- os: osx
osx_image: xcode8 # currently xcode8.1+ doesn't support electron-builder macOS code-signing (https://github.com/electron-userland/electron-builder/issues/820#issuecomment-267777060)
node_js: 6
env:
- GULP_PLATFORM=mac
before_install:
- npm install -g yarn # macOS xcode8 image doesn't natively support yarn yet

allow_failures:
- os: osx

fast_finish: true

cache:
yarn: true

install:
- echo $PATH
- PATH=$PATH:$HOME/.meteor && curl -L https://raw.githubusercontent.com/arunoda/travis-ci-meteor-packages/1390e0f96162d0d70fc1e60a6b0f4f891a0e8f42/configure.sh | /bin/sh
- yarn global add gulp-cli meteor-build-client
- yarn

script:
# disable macOS code-signing (production certificate) on develop branch
- if [[ $TRAVIS_BRANCH != "master" ]]; then unset CSC_LINK CSC_KEY_PASSWORD; fi
# windows code-signing on master branch
- if [[ $GULP_PLATFORM == "win" && $TRAVIS_BRANCH == "master" ]]; then export CSC_LINK=$CSC_WIN_LINK && CSC_KEY_PASSWORD=$CSC_WIN_KEY_PASSWORD; fi
# build mist
- if [[ $GULP_PLATFORM == "mac" ]]; then travis_wait 60 gulp --$GULP_PLATFORM; fi # increase timeout for slower mac builds
- if [[ $GULP_PLATFORM != "mac" ]]; then gulp --$GULP_PLATFORM; fi
# build wallet if on master branch
- if [[ $TRAVIS_BRANCH == "master" ]]; then travis_wait 60 gulp --wallet --$GULP_PLATFORM; fi
# prepare and run integration tests
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export DISPLAY=:99.0; sh -e /etc/init.d/xvfb start; sleep 3; fi
- if [[ $GULP_PLATFORM != "win" ]]; then gulp test; fi

after_success:
- if [[ $TRAVIS_BRANCH == "master" ]]; then gulp uploadQueue --$GULP_PLATFORM && gulp uploadQueue --wallet --$GULP_PLATFORM; fi

notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/33972d9e627a142c57a6
on_success: change
on_failure: always
on_start: never
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The Wallet Authors

Tom Durrent <tomdurrent@sero.vip>
Loading

0 comments on commit 593d7f0

Please sign in to comment.