Merge pull request #1 from robotn/dev-pr

update appveyor ci
This commit is contained in:
vz 2018-09-17 13:47:10 -04:00 committed by GitHub
commit 90f17fe78a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 2 deletions

View File

@ -67,7 +67,7 @@ build_script:
test_script: test_script:
# Unit tests # Unit tests
- ps: Add-AppveyorTest "Unit Tests" -Outcome Running - ps: Add-AppveyorTest "Unit Tests" -Outcome Running
- go test -u github.com/go-vgo/robotgo/... - go test -u github.com/robotn/gohook...
- ps: Update-AppveyorTest "Unit Tests" -Outcome Passed - ps: Update-AppveyorTest "Unit Tests" -Outcome Passed
# notifications: # notifications:

View File

@ -12,6 +12,7 @@
#include <config.h> #include <config.h>
#endif #endif
#include <stdlib.h>
#include "pub.h" #include "pub.h"

View File

@ -3,10 +3,11 @@ package hook
/* /*
#cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations #cgo darwin CFLAGS: -x objective-c -Wno-deprecated-declarations
#cgo darwin LDFLAGS: -framework Cocoa #cgo darwin LDFLAGS: -framework Cocoa
#cgo linux CFLAGS:-I/usr/src #cgo linux CFLAGS:-I/usr/src
#cgo linux LDFLAGS: -L/usr/src -lX11 -lXtst #cgo linux LDFLAGS: -L/usr/src -lX11 -lXtst
#cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11 #cgo linux LDFLAGS: -lX11-xcb -lxcb -lxcb-xkb -lxkbcommon -lxkbcommon-x11
#cgo windows LDFLAGS: -lgdi32 -luser32 //#cgo windows LDFLAGS: -lgdi32 -luser32
#include "event/goEvent.h" #include "event/goEvent.h"
// #include "event/hook_async.h" // #include "event/hook_async.h"