Skip to content
This repository has been archived by the owner on Aug 17, 2021. It is now read-only.

Commit

Permalink
Add a script to build header.
Browse files Browse the repository at this point in the history
You can't do it in build.rs because of rust-lang/cargo#4866
  • Loading branch information
thejpster committed Jun 9, 2019
1 parent 88b380f commit e81f300
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -7,3 +7,4 @@ target/
*.sublime-workspace
env/
avr_kb/build/
monotron-api/generated/*.h
3 changes: 3 additions & 0 deletions scripts/make_api.sh
@@ -0,0 +1,3 @@
#!/bin/sh

cbindgen ./monotron-api -l c -o ./monotron-api/generated/monotron_api.h -s both

0 comments on commit e81f300

Please sign in to comment.