Skip to content

Commit

Permalink
fix ci (#1)
Browse files Browse the repository at this point in the history
* fix ci
  • Loading branch information
asukaminato0721 authored Sep 21, 2024
1 parent 87d24c3 commit b55177d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#!/usr/bin/env bash
set -eux
cargo build
gcc examples/basic.c target/debug/librs_fsrs_c.so
./a.out

BASEDIR="$( cd "$( dirname "$0" )" && pwd )"
gcc -o a.out examples/basic.c -L${BASEDIR}/target/debug/ -lrs_fsrs_c
env LD_LIBRARY_PATH=${BASEDIR}/target/debug/ ./a.out

0 comments on commit b55177d

Please sign in to comment.