Skip to content

Commit

Permalink
Add deploy script (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
belen-albeza authored Jul 18, 2024
1 parent d174d1f commit 1570e25
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,7 @@ Cargo.lock
# Added by cargo

/target

# Project-related
/dist

1 change: 1 addition & 0 deletions coco-core/src/stack.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ impl Stack {
return self.data[i as usize];
}

#[cfg(test)]
pub fn short_at(&self, i: u8) -> u16 {
let hi = self.data[i as usize];
let lo = self.data[i.wrapping_add(1) as usize];
Expand Down
5 changes: 5 additions & 0 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
./build.sh
cp -r coco-ui/roms dist/
cp -r coco-ui/vendor dist/
cp coco-ui/index.* dist/
cp coco-ui/styles.css dist/

0 comments on commit 1570e25

Please sign in to comment.