-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8527ff8
commit b0662c9
Showing
3 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,9 +7,6 @@ import ( | |
) | ||
|
||
/* | ||
#cgo darwin CFLAGS: -I/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/include/python3.12 -I/Users/seanmcgary/Code/sidecar/sqlite-extensions | ||
#cgo darwin LDFLAGS: -L/opt/homebrew/opt/[email protected]/Frameworks/Python.framework/Versions/3.12/lib -lpython3.12 -L/Users/seanmcgary/Code/sidecar/sqlite-extensions/build/lib -lcalculations | ||
#cgo darwin LDFLAGS: -Wl,-rpath,/Users/seanmcgary/Code/sidecar/sqlite-extensions/build/lib | ||
#include <stdlib.h> | ||
#include "calculations.h" | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env bash | ||
|
||
export PROJECT_ROOT=$(pwd) | ||
export CGO_CFLAGS="-I${PROJECT_ROOT}/sqlite-extensions" | ||
export CGO_LDFLAGS="-L${PROJECT_ROOT}/sqlite-extensions/build/lib -lcalculations -Wl,-rpath,${PROJECT_ROOT}/sqlite-extensions/build/lib" | ||
export PYTHONPATH="/Users/seanmcgary/Code/sidecar/sqlite-extensions:$PYTHONPATH" | ||
export CGO_ENABLED=1 | ||
export TESTING=true | ||
|
||
go test $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters