remove legacy version check code
This commit is contained in:
parent
b6bfbe97f8
commit
365557021f
9
runtests
9
runtests
@ -53,10 +53,6 @@ def _test():
|
|||||||
|
|
||||||
|
|
||||||
def _gfmrun():
|
def _gfmrun():
|
||||||
go_version = check_output('go version'.split()).split()[2]
|
|
||||||
if go_version < 'go1.3':
|
|
||||||
print('runtests: skip on {}'.format(go_version), file=sys.stderr)
|
|
||||||
return
|
|
||||||
_run(['gfmrun', '-c', str(_gfmrun_count()), '-s', 'README.md'])
|
_run(['gfmrun', '-c', str(_gfmrun_count()), '-s', 'README.md'])
|
||||||
|
|
||||||
|
|
||||||
@ -70,11 +66,6 @@ def _toc():
|
|||||||
|
|
||||||
|
|
||||||
def _gen():
|
def _gen():
|
||||||
go_version = check_output('go version'.split()).split()[2]
|
|
||||||
if go_version < 'go1.5':
|
|
||||||
print('runtests: skip on {}'.format(go_version), file=sys.stderr)
|
|
||||||
return
|
|
||||||
|
|
||||||
_run('go generate ./...')
|
_run('go generate ./...')
|
||||||
_run('git diff --exit-code')
|
_run('git diff --exit-code')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user