Skip to content

Commit

Permalink
Now creates the go file for inclusion.
Browse files Browse the repository at this point in the history
  • Loading branch information
codepope committed Jul 26, 2018
1 parent 239a68a commit d55033e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion getcommands.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
mv commands.go commands.go.old
curl -LO https://github.com/antirez/redis-doc/raw/master/commands.json

echo "package main\n\nvar redisCommandsJSON = \`" > commands.go
cat commands.json >> commands.go
echo "\`" >> commands.go

0 comments on commit d55033e

Please sign in to comment.