From 99c8ac9a28334c61e803b005e4f8dee7f02d5451 Mon Sep 17 00:00:00 2001 From: Manuel Araoz Date: Thu, 18 Aug 2016 16:30:17 -0300 Subject: [PATCH] fix stoppablebid, add package.json --- contracts/examples/StoppableBid.sol | 4 ++-- package.json | 29 +++++++++++++++++++++++++++++ scripts/install.sh | 3 +++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 package.json create mode 100755 scripts/install.sh diff --git a/contracts/examples/StoppableBid.sol b/contracts/examples/StoppableBid.sol index fa5ac0707..072a06cc2 100644 --- a/contracts/examples/StoppableBid.sol +++ b/contracts/examples/StoppableBid.sol @@ -1,5 +1,5 @@ -import './PullPaymentCapable.sol'; -import './Stoppable.sol'; +import '../PullPaymentCapable.sol'; +import '../Stoppable.sol'; contract StoppableBid is Stoppable, PullPaymentCapable { address public highestBidder; diff --git a/package.json b/package.json new file mode 100644 index 000000000..47d712124 --- /dev/null +++ b/package.json @@ -0,0 +1,29 @@ +{ + "name": "zeppelin-solidity", + "version": "0.0.4", + "description": "Secure Smart Contract library for Solidity", + "main": "truffle.js", + "devDependencies": {}, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1", + "install": "scripts/install.sh" + }, + "repository": { + "type": "git", + "url": "https://github.com/OpenZeppelin/zeppelin-solidity.git" + }, + "keywords": [ + "solidity", + "ethereum", + "smart", + "contracts", + "security", + "zeppelin" + ], + "author": "Manuel Araoz ", + "license": "MIT", + "bugs": { + "url": "https://github.com/OpenZeppelin/zeppelin-solidity/issues" + }, + "homepage": "https://github.com/OpenZeppelin/zeppelin-solidity" +} diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100755 index 000000000..0b18c9c6f --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,3 @@ +#! /bin/bash + +mkdir -p ../../contracts/zeppelin && cp -r contracts/* "$_"