Skip to content

Commit 344c289

Browse files
committed
Restructure project
1 parent 789eab5 commit 344c289

129 files changed

Lines changed: 36 additions & 24 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/release.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,25 @@ jobs:
1414
uses: actions/checkout@v2
1515

1616
- name: Set up build environment
17+
working-directory: ./strongmod
1718
run: make setup-environment
1819

1920
- name: Download and unzip python
21+
working-directory: ./strongmod
2022
run: make download-and-unzip-cpython
2123

2224
- name: Compile project
25+
working-directory: ./strongmod
2326
run: make
2427

25-
- uses: montudor/action-zip@v1
26-
with:
27-
args: zip -qq -r strongmod.zip ./
28+
- name: Zip project
29+
working-directory: ./strongmod
30+
run: make zip-project
2831

2932
- uses: "marvinpinto/action-automatic-releases@latest"
3033
with:
3134
repo_token: "${{ secrets.GITHUB_TOKEN }}"
3235
prerelease: false
3336
files: |
34-
./strongmod.zip
37+
./strongmod/strongmod.zip
3538

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@
5050
/build/
5151
/game_controller.dll
5252
game_controller.o
53-
/docs/build/
54-
/strongmod/version.py
53+
/strongmod/docs/build/
54+
/strongmod/strongmod/version.py
55+
/strongmod/cpython

start_game.bat

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,5 @@
1-
start "" ".\python.exe" .\strongmod\start_game.py
1+
setlocal
2+
3+
.\strongmod\cpython\python.exe .\strongmod\strongmod\start_game.py
4+
5+
endlocal

strongmod/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
import sys
2-
sys.path.append('strongmod')
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 0 additions & 1 deletion

0 commit comments

Comments
 (0)