Skip to content

Commit

Permalink
feat: move filesystem create to utils folder
Browse files Browse the repository at this point in the history
To not pollute the root of our repo, i suggest a move of these folder to utils (or test)
  • Loading branch information
benjaminbruun committed May 24, 2024
1 parent 8fe7797 commit 236b186
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
python-version: "3.10"
- name: Generate C Structs
run: |
cd files-c-array
cd utils/files-c-array
python3 toCArray.py
- name: Restore c-structs and verify their identity of restored with original files
run: |
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
- name: Restore files and verify their identity of restored with original files
run: |
set -e
./pysim/pySim-shell.py -p0 --script ./files-creation/all.pysim
./pysim/pySim-shell.py -p0 --script ./utils/files-creation/all.pysim
git add files
git diff --cached --exit-code
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions files-c-array/toCArray.py → utils/files-c-array/toCArray.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,6 @@ def get_dirs_and_files(path):
files.sort()

return files, directories
to_c_array('../files', 'ss_static_files_bin.c', 'bin')
to_c_array('../files', 'ss_static_files_hex.c', 'hex')
to_c_array('../../files', 'ss_static_files_bin.c', 'bin')
to_c_array('../../files', 'ss_static_files_hex.c', 'hex')

File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 236b186

Please sign in to comment.