build: add libsass dependency
This commit is contained in:
parent
17191d3b92
commit
b646aed9ff
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
(define version "0.0.0")
|
(define version "0.0.0")
|
||||||
(define collection "sass")
|
(define collection "sass")
|
||||||
(define deps '("base"))
|
(define deps '("base" "libsass"))
|
||||||
(define build-deps '("racket-doc"
|
(define build-deps '("racket-doc"
|
||||||
"rackunit-lib"
|
"rackunit-lib"
|
||||||
"scribble-lib"))
|
"scribble-lib"))
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#lang racket/base
|
#lang racket/base
|
||||||
|
|
||||||
(require ffi/unsafe
|
(require ffi/unsafe
|
||||||
ffi/unsafe/define)
|
ffi/unsafe/define
|
||||||
|
libsass)
|
||||||
|
|
||||||
(provide
|
(provide
|
||||||
bytes->unmanaged-cstring
|
bytes->unmanaged-cstring
|
||||||
|
@ -34,7 +35,7 @@
|
||||||
|
|
||||||
;; Basics ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;; Basics ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
||||||
(define-ffi-definer define-sass (ffi-lib "libsass"))
|
(define-ffi-definer define-sass (ffi-lib (or libsass-path "libsass")))
|
||||||
|
|
||||||
(define-sass libsass_version (_fun -> _string))
|
(define-sass libsass_version (_fun -> _string))
|
||||||
(define-sass libsass_language_version (_fun -> _string))
|
(define-sass libsass_language_version (_fun -> _string))
|
||||||
|
|
Loading…
Reference in New Issue