Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update gmc module #3

Open
wants to merge 123 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
123 commits
Select commit Hold shift + click to select a range
9290e5c
Update package.json
etaletai13 Jun 5, 2018
b264bcb
Update package.json
etaletai13 Jun 5, 2018
9dc6fd4
Update .travis.yml
etaletai13 Jun 5, 2018
ecf01f3
Update .travis.yml
etaletai13 Jun 5, 2018
1fc6c13
Update .travis.yml
etaletai13 Jun 5, 2018
0f40e3b
Update .travis.yml
etaletai13 Jun 5, 2018
e2575d3
Update .travis.yml
etaletai13 Jun 5, 2018
fcc2802
Merge pull request #1 from etaletai13/fixup-package-scripts
etaletai13 Jun 5, 2018
1a5d512
modified: .travis.yml
Jun 9, 2018
d305c63
new file: index.sh
Jun 9, 2018
0cf2ee6
modified: .travis.yml
Jun 9, 2018
07727b9
modified: package.json
Jun 10, 2018
6792023
modified: index.sh
Jun 10, 2018
cb2a055
modified: README.md
Jun 10, 2018
0bc274d
modified: .travis.yml
Jun 10, 2018
e3f5df5
travis releasing
Jun 10, 2018
1625d4c
fixup to avoid stepping on official toes later
Jun 10, 2018
98c129d
get publishing to work
Jun 10, 2018
33c92f9
get publishing to work
Jun 10, 2018
0b6d460
modified: .travis.yml
Jun 10, 2018
8129582
modified: .travis.yml
Jun 10, 2018
60199c7
v1.0.0-beta
Jun 10, 2018
8bf5951
v1.0.0-beta1
Jun 10, 2018
353001e
modified: .travis.yml
Jun 10, 2018
f9a0fba
v1.0.0
Jun 10, 2018
6be86d2
travis experiment
Jun 10, 2018
1b4ad50
new file: gmc-bin.tgz
Jun 10, 2018
d67fa80
modified: .travis.yml
Jun 10, 2018
6621498
modified: .travis.yml
Jun 10, 2018
e20455c
modified: .travis.yml
Jun 10, 2018
8ea63f6
modified: .travis.yml
Jun 10, 2018
bdf4b40
modified: .gitignore
Jun 10, 2018
f8824db
modified: .travis.yml
Jun 10, 2018
ff2822a
modified: package.json
Jun 10, 2018
0af5d6f
Staging (#2)
etaletai13 Jun 10, 2018
58a455e
modified: .travis.yml
Jun 10, 2018
90ce407
Update .travis.yml
etaletai13 Jun 10, 2018
7df0aec
travis releasing for npm and github
Jun 10, 2018
f7b9cb5
releases
Jun 10, 2018
b1983de
V1.0.0 (#3)
etaletai13 Jun 10, 2018
201f3ba
modified: .travis.yml
Jun 10, 2018
036bf95
test
Jun 10, 2018
eeb0b6a
travis build
Jun 10, 2018
7bd5afc
release
Jun 10, 2018
125bc22
modified: .travis.yml
Jun 10, 2018
a1e5d97
release
Jun 10, 2018
3245037
modified: .travis.yml
Jun 10, 2018
c1c1d08
GitHub release (#5)
etaletai13 Jun 11, 2018
e461a98
travis
Jun 11, 2018
d349135
testing
Jun 11, 2018
d0b22c6
Release
Jun 11, 2018
57e018f
build test
Jun 11, 2018
499eae3
test
Jun 11, 2018
69440c9
stage
Jun 11, 2018
93c4df9
stage
Jun 11, 2018
853716e
travis
Jun 11, 2018
1b34d8b
staging
Jun 11, 2018
801efeb
pushy
Jun 11, 2018
1490144
tests, kinda
Jun 11, 2018
e5bc266
buildy
Jun 11, 2018
22e6779
staged
Jun 11, 2018
db369b2
staging
Jun 11, 2018
33ecaf8
staging
Jun 11, 2018
1524bfe
release
Jun 11, 2018
6e5a922
staging release
Jun 11, 2018
25893b7
releasing
Jun 11, 2018
5b6db8b
staging
Jun 11, 2018
92098a6
releasing
Jun 11, 2018
b850fbf
releasing
Jun 11, 2018
070a499
pushy
Jun 11, 2018
c60b2ee
tagging
Jun 11, 2018
3ff6c04
Merge tag 'staging'
Jun 13, 2018
60a1334
modified: package.json
Jun 13, 2018
d31f0e5
On branch master
Jun 13, 2018
2911e44
Update .travis.yml
etaletai13 Jun 13, 2018
becf1bb
modified: .travis.yml
Jun 13, 2018
c57da2f
modified: .travis.yml
Jun 13, 2018
733185b
modified: .travis.yml
Jun 13, 2018
2f753a6
modified: .travis.yml
Jun 14, 2018
dd1a2a6
--fixup
Jun 14, 2018
4193d30
--fixup
Jun 14, 2018
edc5bf2
clone in build
Jun 14, 2018
c5bb4ff
--fixup
Jun 14, 2018
cdfe07f
modified: .travis.yml
Jun 14, 2018
92340ce
modified: .travis.yml
Jun 14, 2018
67570ec
remove .travis.yml for master
Jun 14, 2018
c38ead6
Update README.md
etaletai13 Jun 14, 2018
ea70974
Update README.md
etaletai13 Jun 14, 2018
f994aec
new file: .travis.yml
Jul 1, 2018
ac2e74a
v1.0.0-beta4
etaletai13 Jul 5, 2018
1383b58
Update README.md
etaletai13 Jul 5, 2018
a8a5c19
modified: .travis.yml
Jul 18, 2018
92249c2
modified: package.json
Jul 18, 2018
5b8c24c
modified: node_modules/.yarn-integrity
Jul 18, 2018
8f07e62
v1.0.0-beta5
Jul 18, 2018
412cca8
v1.0.0-beta6
Jul 18, 2018
9e6f61c
modified: .travis.yml
Jul 20, 2018
7be60f8
v1.1.0-beta1
Jul 20, 2018
b83e15b
modified: .travis.yml
Jul 20, 2018
b8a42e6
pull bins in (#10)
etaletai13 Jul 20, 2018
b17a802
Update .travis.yml
etaletai13 Jul 20, 2018
8f72cb4
Update .travis.yml
etaletai13 Jul 20, 2018
d236ce1
move clone process into js
Sep 15, 2018
27b0ef0
modified: .travis.yml
Sep 15, 2018
ec4d50c
modified: package.json
Sep 15, 2018
e7bb83f
modified: .travis.yml
Sep 15, 2018
28167f2
modified: .gitignore
Sep 15, 2018
70ca187
fixup! Changes to be committed: new file: bin/gmc-darwin-10.6-amd…
Sep 15, 2018
4d81a0c
Fixup! Travis again.
Sep 15, 2018
edcde0a
modified: .gitignore
Sep 15, 2018
b25b065
tweakin
Sep 15, 2018
1ae2926
Changes to be committed:
Sep 15, 2018
8143ec0
modified: .travis.yml
Sep 15, 2018
83697b1
Fixup for deploy
Sep 15, 2018
1540102
oops
Sep 15, 2018
f8d863c
fixup
Sep 15, 2018
9acf8eb
modified: .travis.yml
Sep 15, 2018
87343ea
modified: .travis.yml
Sep 15, 2018
5c97a4d
modified: package.json
Sep 16, 2018
7d9def0
modified: package.json
Sep 16, 2018
9f0e312
modified: package.json
Sep 18, 2018
9577bc5
Usable package for making available go-musicoin
Sep 18, 2018
0e54594
Update README.md
Sep 19, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
src
node_modules/
src/
yarn-error.log
17 changes: 11 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
before_install:
- "curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.6.0",
- "export PATH=\"$HOME/.yarn/bin:$PATH\"
os: linux
dist: trusty
services: docker
language: node_js
yarn: 1.6.0
node_js: 8.0.0
go: 1.10.0
node_js: stable
deploy:
provider: npm
email: parker.casey@gmail.com
api_key: ${NPM_TOKEN}
on:
repo: etaletai13/gmc-bin
branch: master
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
![Travis](https://img.shields.io/travis/etaletai13/gmc.svg?style=for-the-badge)
[![GitHub release](https://img.shields.io/github/release/etaletai13/gmc.svg?style=for-the-badge)](https://github.com/etaletai13/gmc/releases/tag/v1.5.1)

`yarn add github:etaletai13/gmc`
[![Build Status](https://travis-ci.org/etaletai13/gmc-bin.svg?branch=master)](https://travis-ci.org/etaletai13/gmc-bin)

This will build gmc for the current system.
This module is used by the Musicoin project, and can be included in other projects as well. It simply requires all of the
`gmc-bin-$OS-$ARCH` packages as optional, allowing them to fail installs and keep going as long as one version works.

Usage:

1. `yarn add gmc-bin`
2. Every version that cannot install on the target system will fail with an info message, and continue.
3. `yarn gmc` will run the binary from the local package, which is located here for all systems `./node_modules/.bin/gmc`

Enjoy
1 change: 0 additions & 1 deletion bin/gmc

This file was deleted.

41 changes: 22 additions & 19 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,35 +1,38 @@
{
"name": "musicoin-daemon",
"version": "1.5.1",
"description": "a go-musicoin binary for node",
"name": "gmc-bin",
"version": "2.0.0-alpha1",
"description": "makes available gmc binaries in node projects",
"license": "MIT",
"private": false,
"homepage": "https://musicoin.org",
"bugs": {
"mail": "13@etaletai.com",
"web": "https://github.com/etaletai13/gmc/issues"
"web": "https://github.com/Musicoin/desktop/issues"
},
"issues": "https://github.com/etaletai13/gmc/issues",
"issues": "https://github.com/Musicoin/desktop/issues",
"repository": {
"type": "git",
"url": "https://github.com/etaletai13/gmc.git"
"url": "https://github.com/Musicoin/gmc-bin.git"
},
"bin": {
"gmc": "./bin/gmc"
"optionalDependencies": {
"gmc-darwin": "^2.0.0-alpha1",
"gmc-darwin-x86": "^2.0.0-alpha1",
"gmc-linux": "^2.0.0-alpha1",
"gmc-linux-x86": "^2.0.0-alpha1",
"gmc-windows": "^2.0.0-alpha1",
"gmc-windows-x86": "^2.0.0-alpha1"
},
"scripts": {
"test": "yarn gmc version"
},
"keywords": [
"go-musicoin",
"musicoin",
"blockchain",
"crypto",
"gmc",
"gmc-bin",
"go-musicoin",
"music",
"musicoin",
"wallet"
],
"scripts": {
"install": "yarn clone && yarn patch && yarn build && yarn clean",
"build": "cd src && make gmc",
"patch": "sed -i.tmp 's/1.7/1.10/g' ./src/build/ci.go",
"clone": "git clone https://github.com/Musicoin/go-musicoin.git src",
"clean": "rm -f ./bin/gmc && mv src/build/bin/gmc ./bin/gmc",
"test": "./bin/gmc version"
}
]
}
27 changes: 27 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


gmc-darwin-x86@^2.0.0-alpha1:
version "2.0.0-alpha1"
resolved "https://registry.yarnpkg.com/gmc-darwin-x86/-/gmc-darwin-x86-2.0.0-alpha1.tgz#0dcb074acde4d5dc47e345ff2e656b0975892ecf"

gmc-darwin@^2.0.0-alpha1:
version "2.0.0-alpha1"
resolved "https://registry.yarnpkg.com/gmc-darwin/-/gmc-darwin-2.0.0-alpha1.tgz#5720170565b9b4b931450419ff83592e6d0af896"

gmc-linux-x86@^2.0.0-alpha1:
version "2.0.0-alpha1"
resolved "https://registry.yarnpkg.com/gmc-linux-x86/-/gmc-linux-x86-2.0.0-alpha1.tgz#48aec6134307606d9a4c014075e2a26b1f4e2dba"

gmc-linux@^2.0.0-alpha1:
version "2.0.0-alpha1"
resolved "https://registry.yarnpkg.com/gmc-linux/-/gmc-linux-2.0.0-alpha1.tgz#634bacb636ffd9b713132ea12636fc11a4e25e88"

gmc-windows-x86@^2.0.0-alpha1:
version "2.0.0-alpha1"
resolved "https://registry.yarnpkg.com/gmc-windows-x86/-/gmc-windows-x86-2.0.0-alpha1.tgz#795447851ec5d815cce3cef95221c3907a255429"

gmc-windows@^2.0.0-alpha1:
version "2.0.0-alpha1"
resolved "https://registry.yarnpkg.com/gmc-windows/-/gmc-windows-2.0.0-alpha1.tgz#6b9fe5d2a0c8686f4200f1bfdc07a69ba84c6703"