Skip to content

Commit

Permalink
Relocate data_src from / to /src
Browse files Browse the repository at this point in the history
  • Loading branch information
VoDACode committed Oct 16, 2023
1 parent 7f934a3 commit 77e778a
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "WebPortal",
"version": "1.3.6",
"version": "1.3.7",
"description": "Library from easy create web portal for your project",
"keywords": [
"web",
Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=WebPortal,
version=1.3.6,
version=1.3.7,
author=VoDACode <vodacode.work@gmail.com>
maintainer=VoDACode <vodacode.work@gmail.com>
sentence=Library from easy create web portal for your project.
Expand Down
4 changes: 2 additions & 2 deletions scripts/extra_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ def uploadfs(source, target, env):

if is_library:
print("This is a project")
path_to_data = env.subst("$PROJECT_DIR") + os.sep + "data_src"
path_to_data = env.subst("$PROJECT_DIR") + os.sep + "src" + "data_src"
else:
print("This is a library")
path_to_data = env.subst("$PROJECT_LIBDEPS_DIR") + os.sep + env.subst("$PIOENV") + os.sep + PACKAGE_NAME + os.sep + "data_src"
path_to_data = env.subst("$PROJECT_LIBDEPS_DIR") + os.sep + env.subst("$PIOENV") + os.sep + PACKAGE_NAME + os.sep + "src" + os.sep + "data_src"

path_to_data += os.sep + DATA_SRC_NAME
print("Path to data: " + path_to_data)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 77e778a

Please sign in to comment.