Skip to content

Commit

Permalink
feat: prepare react-tetris
Browse files Browse the repository at this point in the history
  • Loading branch information
Emyr298 committed Apr 29, 2023
1 parent bdf56b7 commit f3a5d28
Show file tree
Hide file tree
Showing 3 changed files with 8,784 additions and 715 deletions.
12 changes: 6 additions & 6 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@

# TETRIS
os.chdir(tetris_dir)
# res = subprocess.run("npm run build:lib", shell=True)
# res.check_returncode()
res = subprocess.run("npm run build:lib", shell=True)
res.check_returncode()

# res = subprocess.run("npm run build:app", shell=True)
# res.check_returncode()
res = subprocess.run("npm run build:app", shell=True)
res.check_returncode()

# shutil.copytree(tetris_dir / "dist", result_dir / "tetris")
# shutil.copy(tetris_dir / "src" / "index.html", result_dir / "tetris" / "index.html")
shutil.copytree(tetris_dir / "dist", result_dir / "tetris")
shutil.copy(tetris_dir / "src" / "index.html", result_dir / "tetris" / "index.html")

# PACMAN
# os.chdir(pacman_dir)
Expand Down
Loading

0 comments on commit f3a5d28

Please sign in to comment.