Skip to content

Commit

Permalink
Merge pull request #2807 from smartcontractkit/chore/update-makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
se3000 authored Apr 29, 2020
2 parents 596d946 + e30b843 commit bd8d77e
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
7 changes: 2 additions & 5 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ gomod: ## Ensure chainlink's go dependencies are installed.
.PHONY: yarndep
yarndep: ## Ensure all yarn dependencies are installed
yarn install --frozen-lockfile
yarn setup:chainlink

.PHONY: gen-builder-cache
gen-builder-cache: gomod yarndep # generate a cache for the builder image
Expand All @@ -58,14 +59,10 @@ gen-builder-cache: gomod yarndep # generate a cache for the builder image
install-chainlink: chainlink ## Install the chainlink binary.
cp $< $(GOBIN)/chainlink

chainlink: $(SGX_BUILD_ENCLAVE) ws-setup operator-ui ## Build the chainlink binary.
chainlink: $(SGX_BUILD_ENCLAVE) operator-ui ## Build the chainlink binary.
CGO_ENABLED=0 go run packr/main.go "${CURDIR}/core/eth" ## embed contracts in .go file
go build $(GOFLAGS) -o $@ ./core/

.PHONY: ws-setup
ws-setup:
yarn setup:chainlink

.PHONY: operator-ui
operator-ui: ## Build the static frontend UI.
CHAINLINK_VERSION="$(VERSION)@$(COMMIT_SHA)" yarn workspace @chainlink/operator-ui build
Expand Down
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,12 @@ Examples of how to utilize and integrate Chainlinks can be found in the [Chainli

## Install

1. [Install Go 1.13+](https://golang.org/doc/install#install), and add your GOPATH's [bin directory to your PATH](https://golang.org/doc/code.html#GOPATH)
1. [Install Go 1.14](https://golang.org/doc/install#install), and add your GOPATH's [bin directory to your PATH](https://golang.org/doc/code.html#GOPATH)
2. Install [NodeJS](https://nodejs.org/en/download/package-manager/) & [Yarn](https://yarnpkg.com/lang/en/docs/install/)
3. Download Chainlink: `git clone https://github.com/smartcontractkit/chainlink && cd chainlink`
4. Build and install Chainlink: `make install`
5. Run the node: `chainlink help`
3. Install [Postgres 11](https://wiki.postgresql.org/wiki/Detailed_installation_guides).
4. Download Chainlink: `git clone https://github.com/smartcontractkit/chainlink && cd chainlink`
5. Build and install Chainlink: `make install`
6. Run the node: `chainlink help`

### Ethereum Node Requirements

Expand Down
2 changes: 1 addition & 1 deletion tools/json-api-client/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
setupFilesAfterEnv: ['<rootDir>/jest.setup.js'],
testPathIgnorePatterns: ['/node_modules/'],
testPathIgnorePatterns: ['/node_modules/', 'dist/'],
}

0 comments on commit bd8d77e

Please sign in to comment.