mirror of
https://github.com/emojisum/emojisum.git
synced 2024-11-27 09:45:40 +00:00
emoji: don't need to go generate
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
parent
62f21228f8
commit
0a1c501226
2 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
|
||||
|
||||
.PHONY: map_gen.go
|
||||
map_gen.go: map.go emojimap.json map_gen.tmpl
|
||||
map_gen.go: map_json.go map.go emojimap.json map_gen.tmpl
|
||||
rm -f map_gen.go
|
||||
go generate
|
||||
go run map_json.go -template map_gen.tmpl -in ./emojimap.json -out ./map_gen.go
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
//go:generate go run map_json.go -in ./emojimap.json -out ./map_gen.go
|
||||
|
||||
package emoji
|
||||
|
||||
// Map returns the emoji at the provided position.
|
||||
|
|
Loading…
Reference in a new issue