Comments (3)
Installation
preferred with ln
$ ln -s ../../hooks/pre-commit.sh .git/hooks/pre-commit
$ chmod +x .git/hooks/pre-commit
or with cp
$ cp hooks/pre-commit.sh .git/hooks/pre-commit
$ chmod +x .git/hooks/pre-commit
Using ln
vs cp
ln
: if you happen to checkout a part of the history which does not include the pre-commit hook in the root, it breaks because the file it links to is no longer present, requiring manual testing and--no-verify
cp
: you will need to manually apply updates by copying updated hooks
from gdnative.
Nice!
Godot can't find
libgdnative_test.so
libgdnative_test.so
is in target/debug/
after building the test/
directory. Right now it has to be copied into the godot project of the test directory which is begging to be automated.
Godot exits status 0 on failure to find
libgdnative_test.so
Oops! that's a mistake and thankfully an easy one to fix, thanks for spotting this. See https://github.com/GodotNativeTools/godot-rust/blob/master/test/project/main.gd#L16 this branch should set the exit code but currently doesn't.
from gdnative.
Thanks for getting back to me, I have no idea how I didn't notice that it was the file that's mentioned in this line on your CONTRIBUTING.md
file!
cp ./target/debug/libgdnative_test.so ./test/project/lib
It's in my script, copied from your CONTRIBUTING.md
file, it seems to have been renaming the file lib
instead of putting it in the folder test/project/lib/
. I updated the line accordingly and it works now.
I've opened a PR: #65.
from gdnative.
Related Issues (20)
- Property Hint don't work properly using godot-rust v0.11.2 with Godot 3.5.1 HOT 2
- The draw_rect() "width" argument has no effect when "filled" is "true" warning HOT 4
- "This godot-rust version is only compatible with Godot 3.4.x; detected version 3.5.1-stable (official)." HOT 4
- Debug builds don't work on web HOT 1
- Multi-threading on web HOT 1
- `gdnative-core` reports versions mismatches even with `custom-godot` enabled
- Support custom versions of GDNative headers
- Investigate no_std, improve core / std consistency HOT 6
- Export functions from rust to gdscript HOT 4
- Simplify the `InitHandle` API HOT 4
- `Ref::upcast` should not require `SafeAsRaw`
- Outdated GDNative API: `determinant` method in Transform2D is not implemented HOT 1
- Rust Analyzer breaks without "one-class-one-file" feature. Enable "one-class-one-file" by default. HOT 1
- Godot-rust is hard depending on fragile parts of the Godot API and panicking if anything changes. HOT 1
- Vector4i doesn't implement "into Variant" HOT 2
- Outdated links in error message HOT 3
- NixOs Development Environment HOT 1
- `serde_yaml` end of life HOT 1
- GDNativeCallbacks is not unsafe to implement, but the deprecated macros think it is
- Rust's newly added `assert_unsafe_precondition` makes GDNative .dlls that are compiled in debug mode crash on startup HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdnative.