feat: Add exported version function
This commit is contained in:
parent
267d635c05
commit
7bc0f82654
|
@ -2,6 +2,7 @@ import Pantograph.Goal
|
||||||
import Pantograph.Protocol
|
import Pantograph.Protocol
|
||||||
import Pantograph.Serial
|
import Pantograph.Serial
|
||||||
import Pantograph.Environment
|
import Pantograph.Environment
|
||||||
|
import Pantograph.Library
|
||||||
import Lean.Data.HashMap
|
import Lean.Data.HashMap
|
||||||
|
|
||||||
namespace Pantograph
|
namespace Pantograph
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
import Pantograph.Version
|
||||||
|
|
||||||
|
namespace Pantograph
|
||||||
|
|
||||||
|
@[export pantograph_version]
|
||||||
|
def pantograph_version: String := version
|
||||||
|
|
||||||
|
end Pantograph
|
Loading…
Reference in New Issue