Skip to content

Commit

Permalink
Update the test project
Browse files Browse the repository at this point in the history
  • Loading branch information
RobDangerous committed Jun 27, 2018
1 parent b2c8a7b commit 12f324e
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/Tests/Empty/build
8 changes: 6 additions & 2 deletions Tests/Empty/Sources/shader.frag.glsl
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
void kore() {
gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0);
#version 450

out vec4 frag;

void main() {
frag = vec4(1.0, 0.0, 0.0, 1.0);
}
6 changes: 4 additions & 2 deletions Tests/Empty/Sources/shader.vert.glsl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
attribute vec3 pos;
#version 450

void kore() {
in vec3 pos;

void main() {
gl_Position = vec4(pos.x, pos.y, 0.5, 1.0);
}
7 changes: 2 additions & 5 deletions Tests/Empty/korefile.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
let project = new Project('Empty', __dirname);
let project = new Project('Empty');

project.addFile('Sources/**');
project.setDebugDir('Deployment');

Project.createProject('../../', __dirname).then((kore) => {
project.addSubProject(kore);
resolve(project);
});
resolve(project);

0 comments on commit 12f324e

Please sign in to comment.