1
0
Fork 0
mirror of https://github.com/emojisum/emojisum.git synced 2024-11-23 16:05:40 +00:00

emoji: don't need to go generate

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-02-07 10:32:54 -05:00
parent 62f21228f8
commit 0a1c501226
Signed by: vbatts
GPG key ID: 10937E57733F1362
2 changed files with 2 additions and 4 deletions

View file

@ -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

View file

@ -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.