From 417112c586e42d06223356e5baed434124d485fe Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Sat, 3 Sep 2016 18:06:28 +0900 Subject: [PATCH] doc: No need to specify 'example' tag when 'go run' --- _docs/index.tmpl.html | 3 +-- .../images/images/keyboard/keyboard.png | Bin 2163 -> 2153 bytes .../_resources/images/keyboard/keyboard.png | Bin 2163 -> 2153 bytes docs/index.html | 3 +-- examples/README.md | 4 +--- 5 files changed, 3 insertions(+), 7 deletions(-) diff --git a/_docs/index.tmpl.html b/_docs/index.tmpl.html index b970dbb62..552be22e9 100644 --- a/_docs/index.tmpl.html +++ b/_docs/index.tmpl.html @@ -66,8 +66,7 @@

Execute the examples

:; go get github.com/hajimehoshi/ebiten
 :; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
-:; go run -tags example rotate/main.go
-

Note that you need to specify example tag.

+:; go run rotate/main.go

Getting Started

diff --git a/docs/examples/_resources/images/images/keyboard/keyboard.png b/docs/examples/_resources/images/images/keyboard/keyboard.png index 70a76197893115bb80e54a84eb597df4bd76086a..35a21dcbfab51a86950287d94f8f03d7a8c3d8bf 100644 GIT binary patch delta 1820 zcmV+%2jlqj5a|$*Lw^xTL_t(|oa~+JmZKmLgk{dW|0}a+qNv@?#kNp1Ti=hJHPVPB z7cB|-ou(;F1>*cCeCu}Me7zL&TlR#n-Oit{ms(U%`@d~FcfMZgF+uJBwr!1H!5?=7 z5&R7zN%vYG8pPh9k_QtX_M6$=X21HNc08HAo1WSI&VO3rx_=?WX$oNridltsM4eqU z`-9FumX8;r*z}{~Epyc z`P~(1t;s=OAw#B(=^C>y?B~M}%keTK2EBd0hSX@EXB*Lk_XTfPf&B+DBT%hmHod99 z`;RhJz7Ke&vVRHxRl?=GOgAMDTdqEtCRxj?K&QRIkZsyXhr%7D1qy08(|N6Qi5j)qhP_rSsD6I!AZ*R}UUCotGm~ zqi;8^zJ1xJ^KvX^v~zs56TPML!a)RNeiojEU;EJFgJzhluNU@lI-jZTTz~u|b=**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nvWAfAM)SDpYkuIdJ ztUGM=Io0>)k`rnDIUTIcJ>aDr3e5xrR~w<7MTSE&0h7T8j*}1wKa&s$FB{~400030 Y|NYz7EB;**EC2ui07*qoM6N<$g4CnL9RL6T diff --git a/docs/examples/_resources/images/keyboard/keyboard.png b/docs/examples/_resources/images/keyboard/keyboard.png index 70a76197893115bb80e54a84eb597df4bd76086a..35a21dcbfab51a86950287d94f8f03d7a8c3d8bf 100644 GIT binary patch delta 1820 zcmV+%2jlqj5a|$*Lw^xTL_t(|oa~+JmZKmLgk{dW|0}a+qNv@?#kNp1Ti=hJHPVPB z7cB|-ou(;F1>*cCeCu}Me7zL&TlR#n-Oit{ms(U%`@d~FcfMZgF+uJBwr!1H!5?=7 z5&R7zN%vYG8pPh9k_QtX_M6$=X21HNc08HAo1WSI&VO3rx_=?WX$oNridltsM4eqU z`-9FumX8;r*z}{~Epyc z`P~(1t;s=OAw#B(=^C>y?B~M}%keTK2EBd0hSX@EXB*Lk_XTfPf&B+DBT%hmHod99 z`;RhJz7Ke&vVRHxRl?=GOgAMDTdqEtCRxj?K&QRIkZsyXhr%7D1qy08(|N6Qi5j)qhP_rSsD6I!AZ*R}UUCotGm~ zqi;8^zJ1xJ^KvX^v~zs56TPML!a)RNeiojEU;EJFgJzhluNU@lI-jZTTz~u|b=**~ zvd!@)SJ%I$5B+ZXewRECJ)9e7*pPXMmCm)#1W@Vi@muA|lrMzX!v{=QM|!bT51weJ zV%$%!a(`<-aJe!^uaNDmb8kWzj(44-JO8T&51HPJCu;QV$5pp4`}AIXF{7R2tDNX9y%!E5 zAYy{$r2WpKnUa~krHyA}M3++-Cwh`a$vD-n{yum7zJ6fIqAkrG4swRA4Y%7m-dj-Y zlz*?gMP6p<$JKdCSGzvJGMYKc=DEM(x81Jan#rWkb8UEM4XYzm#h$L6e_psd+w|RvN*% z&{~}_6QFgh*?pC>ea_L|v%JU2xL_oGV(!%r&yMK;2 z<5aJyK2)6LAiC!Koa);Cj8pwEJ~i+&FH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4WFr@UZuyKXk=(V=g=f@|_?rS>v(`8P+0 z$!F6_Be)dWYBOd5w2n2&XF1!)9POOtwtr^2xpQpsvF*au={pZ_lxLjn-k71#=LPd| z4qGE_yxNX+tDR_{?QGxKQ(kk%>JV)?(Igy(mvS<{ADRg=zYo`EbhRCIQ#*?w&`bbv zIns%%yW;4stKz))ht8`fgVB?RjQd2?)u$t)Phax5PsF^U!lSnL;*a7a0#MD^IJ7Z!uJmMqT0aWPMF}0j zLi2Gb>76GrPa;uwrJZQKI;RiODu1r_YmG47BJU>fJO&=DRY5;t9UG_H7<-1km8hz4 zwV=t;4|?*H6^pf+h7e>6iY6@9)AfF*u41>Fk<&Mo))(mxx2@@7b7@=0%~Tz4%QKVA z4Fu(-oQ(TK)Yay|oy>$opVig&)XnTHfhiBT-vhQl5NLVZy5{*01Gd2Du5BI#yD$j2LN)yPE__Hpz2^BZ zbF2kYHvnGBq0mgoIrS^X?CGQn&jUfAUp71`|I_eJ3TNkk8s5{Av-3X?4w?)3qeZwH(53eT;69F=R~-T{?=2(guac|5Qq<{3x<7n3DDb))q3 zjl}yY9c%viPq$?z_bY#VM=U?(<0*(SFg-mZJ#|AreM3`x0(xa0$i>~Bk1qH3L{t|( zJPUR@^!FOCO2GX`si%Xs^zwK0I={<3_b5^q4)YV8)nlQn&yNnvWAfAM)SDpYkuIdJ ztUGM=Io0>)k`rnDIUTIcJ>aDr3e5xrR~w<7MTSE&0h7T8j*}1wKa&s$FB{~400030 Y|NYz7EB;**EC2ui07*qoM6N<$g4CnL9RL6T diff --git a/docs/index.html b/docs/index.html index 3a2658f6b..0fcb276c5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -98,8 +98,7 @@

Execute the examples

:; go get github.com/hajimehoshi/ebiten
 :; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples
-:; go run -tags example rotate/main.go
-

Note that you need to specify example tag.

+:; go run rotate/main.go

Getting Started

diff --git a/examples/README.md b/examples/README.md index a405b3147..76d58bb83 100644 --- a/examples/README.md +++ b/examples/README.md @@ -2,7 +2,5 @@ ```sh :; cd $GOPATH/src/github.com/hajimehoshi/ebiten/examples -:; go run -tags example rotate/main.go +:; go run rotate/main.go ``` - -Note that you need to specify `example` tag. \ No newline at end of file