Updated readme in compiler folder + bumped version to match latest tag. (#29)

* Updated readme in compiler folder + bumped version to match latest tag.
This commit is contained in:
Anthony De Meulemeester 2018-02-24 10:19:15 +01:00 committed by GitHub
parent e93dfe8062
commit 63bc244163
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -1 +1 @@
0.13.0
0.15.0

View file

@ -50,20 +50,20 @@ Due to the limitations of the NEO virtual machine, features listed below will no
### Compile a smart contract
```
./bin/neo-go contract compile mycontract.go
./bin/neo-go contract compile -i mycontract.go
```
By default the filename will be the name of your .go file with the .avm extension, the file will be located in the same directory where you called the command from. If you want another location for your compiled contract:
```
./bin/neo-go contract compile mycontract.go --out /Users/foo/bar/contract.avm
./bin/neo-go contract compile -i mycontract.go --out /Users/foo/bar/contract.avm
```
### Debugging your smart contract
You can dump the opcodes generated by the compiler with the following command:
```
./bin/neo-go contract opdump mycontract.go
./bin/neo-go contract opdump -i mycontract.go
```
This will result in something like this: