Mark McGranaghan
bee52f22ce
Change word
2019-06-08 11:21:40 -04:00
Eli Bendersky
70cb6ffb45
Add printout when sending a request to play.golang.org
2019-06-07 06:26:27 -07:00
Eli Bendersky
cb0f0a3056
Tweak logged text
2019-06-07 06:17:26 -07:00
Eli Bendersky
cdbdae9715
Do progress reporting during parsing/processing stage, not HTML render stage
2019-06-07 06:12:30 -07:00
Eli Bendersky
d34c7ac64e
Rewrite verbose() to work in OSX bash
2019-06-06 05:26:20 -07:00
Eli Bendersky
3d0bde4f8f
Add verbose guard in parseExamples
2019-06-05 10:17:09 -07:00
Eli Bendersky
5487e88919
Add VERBOSE option to tools/build and generate.go
...
VERBOSE will be set by TRAVIS (but can also be set by user to diagnose slow
builds). Using an env var so that it automatically propagates to all the
sub-scripts and tools without having to pass it through tools/build explicitly.
2019-06-05 10:15:13 -07:00
Eli Bendersky
7c160440be
Use tabs as the canonical source indentation in git
...
Space conversion is done during generation only. Fixes #192
2019-06-04 07:30:58 -07:00
Mark McGranaghan
4ab97fb99b
Merge pull request #226 from eliben/sanitytest
...
Adding a basic sanity testing tool to run during 'build'.
2019-05-30 12:50:03 -07:00
Mark McGranaghan
95e26aa537
Shorter name
2019-05-30 07:42:36 -07:00
Eli Bendersky
8930aa53f3
Adding a basic sanity testing tool to run during 'build'.
...
The tool just runs 'go vet' for now; could do more later (like actually
run the examples and compare to some expected output)
2019-05-30 06:05:58 -07:00
Eli Bendersky
9e31d5eb10
Remove old comment
2019-05-29 13:49:42 -07:00
Eli Bendersky
f3f319ccce
Rewrite the local server in Go
2019-05-29 13:46:05 -07:00
Mark McGranaghan
c43c319d26
Add local serve script
2019-03-20 11:30:56 -07:00
Mark McGranaghan
0a96c21881
Allows tools to use Go-standard formatting
2018-02-01 17:07:33 -05:00
Mark McGranaghan
451160492a
Check for template errors
2018-02-01 16:09:53 -05:00
Noah Zoschke
08b8a98248
remove unreachable code (go vet)
2018-01-26 08:52:01 -08:00
Noah Zoschke
d5a7560cdc
Url should be URL (golint)
2018-01-26 08:51:01 -08:00
Noah Zoschke
13a5dea6a7
Id should be ID (golint)
2018-01-26 08:48:48 -08:00
Noah Zoschke
116b4c7341
exported types should have comment (golint)
2018-01-26 08:46:33 -08:00
Mark McGranaghan
a334236cc3
Remove todos
...
We are not planning to address them at this point.
2016-12-27 12:54:04 -08:00
Mark McGranaghan
fd5e6d9ef6
Handle empty spans generated by newer Pygments
2016-12-27 08:28:35 -08:00
Mark McGranaghan
fa2299285e
Merge pull request #105 from rafmagana/per-platform-sed-command-to-format-to-4-spaces
...
Per platform 'sed' command to format files to have 4 spaces (darwin and linux supported)
2016-12-27 07:16:05 -08:00
Mark McGranaghan
5fa2fcc49b
Use https for play.golang.org, now required
2016-06-05 14:28:32 -07:00
Mark McGranaghan
7ce10fd6f1
Add in our Ruby script
2016-01-02 17:35:05 -08:00
Rafael Magana
d99a6a9c5e
Per platform 'sed' command to format files to have 4 spaces (darwin and linux supported)
2015-04-16 14:06:22 -05:00
Joel Scoble
8e7a6bb086
Update format script for new gofmt
...
gofmt no longer supports `tabs` and `tabwidth`, but we still require
exactly-4-space tabs to preserve the narrow layout on gobyexample.com,
so re-implement this functionality with sed.
2014-12-13 14:19:07 -08:00
everyx
d244c2cbe4
add missing utf-8 package import
2014-02-23 15:42:54 +08:00
everyx
bfa6fa1771
fix measure for ckj character
2014-02-22 22:38:15 +08:00
Mark McGranaghan
49870a9701
place gopher run link in top-right of rendered go source
2013-10-06 09:25:48 -07:00
Mark McGranaghan
afdf0cc2b4
add trailing newlines
2013-10-06 08:50:23 -07:00
Mark McGranaghan
b0b6dbeb1b
switch to if
2013-10-06 08:47:52 -07:00
Mark McGranaghan
37028a7f0f
simplify parseHashFile
2013-10-06 08:45:36 -07:00
Mark McGranaghan
d61579313a
just panic here for now
2013-10-06 08:42:34 -07:00
Mark McGranaghan
056d0aff68
initial generation for play.golang.org linking, ref #37
2013-09-11 08:52:05 -07:00
Mark McGranaghan
0c18c9689a
initial changes to generate play buttons, ref #37
2013-09-11 08:40:37 -07:00
Mark McGranaghan
845529c167
use vendored pygmentize
2012-11-17 08:22:49 -08:00
Mark McGranaghan
72b227694f
first pass at import
2012-11-17 07:08:12 -08:00
Mark McGranaghan
5110cee76a
publish time-formatting-parsing
2012-11-01 15:26:20 -07:00
Adam Moore
a8f665c1de
Use whichPygmentize generated path instead!
2012-10-12 12:11:14 +09:00
Adam Moore
23abb4c310
use gofmt tool
2012-10-12 11:57:27 +09:00
Adam Moore
0eddaf3c2c
Don't assume pygmentize path (I use pythonbrew!).
2012-10-12 11:48:49 +09:00
Mark McGranaghan
8116d5abe3
explicitly which and check pygmentize bin. ref #15
2012-10-11 18:34:51 -07:00
Mark McGranaghan
c87fc65436
check all the errors. ref #15
2012-10-11 18:30:06 -07:00
Mark McGranaghan
93fb090961
templates
2012-10-11 11:03:52 -07:00
Mark McGranaghan
deafc3a0bf
handle ctrl-c
2012-10-11 08:00:42 -07:00
Mark McGranaghan
973ace22a0
use the hex trick here as well
2012-10-10 15:41:19 -07:00
Mark McGranaghan
d3bc797a70
spawning and execing processes
2012-10-10 11:52:34 -07:00
Mark McGranaghan
202a4a45b0
publish environment variables example
2012-10-10 08:46:34 -07:00
Mark McGranaghan
0c1a7354e5
tighten
2012-10-10 06:54:46 -07:00