add include dir to release script

This commit is contained in:
2022-02-28 23:59:51 +01:00
parent d11b46576a
commit 00d21b4745
11 changed files with 10 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
include "microw8-api.cwa" include "../include/microw8-api.cwa"
export fn upd() { export fn upd() {
printString(0x20000); printString(0x20000);

View File

@@ -1,4 +1,4 @@
include "microw8-api.cwa" include "../include/microw8-api.cwa"
export fn upd() { export fn upd() {
cls(0); cls(0);

View File

@@ -1,4 +1,4 @@
include "microw8-api.cwa" include "../include/microw8-api.cwa"
global mut mode: i32 = 0; global mut mode: i32 = 0;

View File

@@ -1,4 +1,4 @@
include "microw8-api.cwa" include "../include/microw8-api.cwa"
export fn upd() { export fn upd() {
cls(0); cls(0);

View File

@@ -1,4 +1,4 @@
include "microw8-api.cwa" include "../include/microw8-api.cwa"
global mut pz: i32 = 4; global mut pz: i32 = 4;
global mut px: f32 = 2.0; global mut px: f32 = 2.0;

View File

@@ -1,4 +1,4 @@
include "microw8-api.cwa" include "../include/microw8-api.cwa"
export fn upd() { export fn upd() {
let x: i32; let x: i32;

View File

@@ -1,4 +1,4 @@
include "microw8-api.cwa" include "../include/microw8-api.cwa"
export fn upd() { export fn upd() {
let i: i32; let i: i32;

View File

@@ -1,4 +1,4 @@
include "microw8-api.cwa" include "../include/microw8-api.cwa"
export fn upd() { export fn upd() {
let i: i32; let i: i32;

View File

@@ -36,6 +36,8 @@ for dir in build/*; do
cp $example $dir/examples cp $example $dir/examples
done done
cp -r ../examples/include $dir/include
mkdir $dir/carts mkdir $dir/carts
for example in $dir/examples/*; do for example in $dir/examples/*; do
build/microw8-linux/uw8 pack -l 9 $example $dir/carts/$(basename ${example%.*}).uw8 build/microw8-linux/uw8 pack -l 9 $example $dir/carts/$(basename ${example%.*}).uw8