forked from TrueCloudLab/frostfs-contract
[#113] Makefile: Fix after NNS contract introduction
Without -o flag neo-go compiles contracts into `out.nef` file in the repository root. Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
c7ed05cc2e
commit
6633ec108b
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -15,7 +15,7 @@ nns_sc = nns
|
||||||
|
|
||||||
define sc_template
|
define sc_template
|
||||||
$(2)$(1)/$(1)_contract.nef: $(2)$(1)/$(1)_contract.go
|
$(2)$(1)/$(1)_contract.nef: $(2)$(1)/$(1)_contract.go
|
||||||
$(NEOGO) contract compile -i $(2)$(1) -c $(if $(2),$(2),$(1)/)config.yml -m $(2)$(1)/config.json
|
$(NEOGO) contract compile -i $(2)$(1) -c $(if $(2),$(2),$(1)/)config.yml -m $(2)$(1)/config.json -o $(2)$(1)/$(1)_contract.nef
|
||||||
|
|
||||||
$(if $(2),$(2)$(1)/$(1)_contract.go: alphabet/alphabet.go alphabet/alphabet.tpl
|
$(if $(2),$(2)$(1)/$(1)_contract.go: alphabet/alphabet.go alphabet/alphabet.tpl
|
||||||
go run alphabet/alphabet.go
|
go run alphabet/alphabet.go
|
||||||
|
|
Loading…
Reference in a new issue