forked from brendanzab/gl-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update project structure and ensure examples, tests and docs are buil…
…t on travis-ci
- Loading branch information
1 parent
4cf82d2
commit bc7af39
Showing
18 changed files
with
84 additions
and
4 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.DS_store | ||
/target | ||
/examples/*/target | ||
Cargo.lock |
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
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,8 +7,9 @@ authors = ["Brendan Zabarauskas <[email protected]>", | |
"Arseny Kapoulkine" | ||
] | ||
|
||
build = "git submodule update --init --recursive" | ||
[[lib]] | ||
name = "gl" | ||
path = "src/gl/lib.rs" | ||
|
||
[dependencies.gl_generator] | ||
|
||
path = "src/gl_generator" |
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,17 @@ | ||
all: build | ||
|
||
build: | ||
(cd static_basic && cargo build) | ||
(cd static_triangle && cargo build) | ||
# error: couldn't open file (no such file or directory (No such file or directory); path=deps/khronos-api/gl.xml; mode=open; access=read) | ||
# (cd struct_triangle && cargo build) | ||
|
||
update: | ||
(cd static_basic && cargo update) | ||
(cd static_triangle && cargo update) | ||
# (cd struct_triangle && cargo update) | ||
|
||
clean: | ||
(cd static_basic && cargo clean) | ||
(cd static_triangle && cargo clean) | ||
# (cd struct_triangle && cargo clean) |
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,18 @@ | ||
[package] | ||
|
||
name = "static-basic" | ||
version = "0.1.0" | ||
authors = [ | ||
] | ||
|
||
build = "git submodule update --init --recursive" | ||
|
||
[[bin]] | ||
name = "static-basic" | ||
path = "main.rs" | ||
|
||
[dependencies.gl] | ||
path = "../../" | ||
|
||
[dependencies.glfw] | ||
git = "https://github.com/bjz/glfw-rs.git" |
File renamed without changes.
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,16 @@ | ||
[package] | ||
|
||
name = "static-triangle" | ||
version = "0.1.0" | ||
authors = [ | ||
] | ||
|
||
[[bin]] | ||
name = "static-triangle" | ||
path = "main.rs" | ||
|
||
[dependencies.gl] | ||
path = "../../" | ||
|
||
[dependencies.glfw] | ||
git = "https://github.com/bjz/glfw-rs.git" |
File renamed without changes.
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,16 @@ | ||
[package] | ||
|
||
name = "struct-triangle" | ||
version = "0.1.0" | ||
authors = [ | ||
] | ||
|
||
[[bin]] | ||
name = "struct-triangle" | ||
path = "main.rs" | ||
|
||
[dependencies.gl_generator] | ||
path = "../../" | ||
|
||
[dependencies.glfw] | ||
git = "https://github.com/bjz/glfw-rs.git" |
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -10,9 +10,8 @@ authors = ["Brendan Zabarauskas <[email protected]>", | |
[[lib]] | ||
|
||
name = "gl_generator" | ||
path = "lib.rs" | ||
plugin = true | ||
path = "src/lib.rs" | ||
|
||
[dependencies.rust-xml] | ||
git = "https://github.com/netvl/rust-xml" | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.