Commit f30c0242 authored by Robbert Krebbers's avatar Robbert Krebbers

Coqidescript is no longer needed now we have a _Coqproject.

parent bc776c70
......@@ -13,6 +13,3 @@ ParseDepends('deps')
# Coq files
for v in vs: env.Coq(v)
# Coqidescript
env.CoqIdeScript('coqidescript', [], COQFLAGS=Rs)
......@@ -13,19 +13,9 @@ Coq = SCons.Builder.Builder(
emitter = coq_emitter
)
def make_coqidescript(target, source, env):
open('coqidescript', 'w').write('#!/bin/sh\n' +
env['COQIDE'] + ' ' + env['COQFLAGS'] + ' $@ \n')
os.chmod('coqidescript', 0755)
return 0
CoqIdeScript = SCons.Builder.Builder(action = make_coqidescript)
def generate(env):
env['COQC'] = 'coqc'
env['COQIDE'] = 'coqide'
env.Append(BUILDERS = {
'Coq' : Coq, 'CoqIdeScript' : CoqIdeScript
})
env.Append(BUILDERS = { 'Coq' : Coq })
def exists(env):
return env.Detect('coqc')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment