Skip to content

Commit

Permalink
lets try this
Browse files Browse the repository at this point in the history
  • Loading branch information
RogueMaster committed Oct 26, 2022
1 parent a447323 commit fbe9175
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions assets/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -63,23 +63,24 @@ assetsenv.Install("${LIB_DIST_DIR}", assetslib)

if assetsenv["IS_BASE_FIRMWARE"]:
# External dolphin animations
dolphin_external = assetsenv.DolphinExtBuilder(
assetsenv.Dir("#/assets/resources/dolphin"),
assetsenv.Dir("#/assets/dolphin"),
DOLPHIN_RES_TYPE="external",
)
assetsenv.NoClean(dolphin_external)
if assetsenv["FORCE"]:
assetsenv.AlwaysBuild(dolphin_external)
assetsenv.Alias("dolphin_ext", dolphin_external)
# dolphin_external = assetsenv.DolphinExtBuilder(
# assetsenv.Dir("#/assets/resources/dolphin"),
# assetsenv.Dir("#/assets/dolphin"),
# DOLPHIN_RES_TYPE="external",
# )
# assetsenv.NoClean(dolphin_external)
# if assetsenv["FORCE"]:
# assetsenv.AlwaysBuild(dolphin_external)
# assetsenv.Alias("dolphin_ext", dolphin_external)
# assetsenv.Clean(dolphin_external, assetsenv.Dir("#/assets/resources/dolphin"))

# Resources manifest
resources = assetsenv.Command(
"#/assets/resources/Manifest",
assetsenv.GlobRecursive(
"*", assetsenv.Dir("resources").srcnode(), exclude="Manifest"
),
assetsenv.GlobRecursive("*", "resources", exclude="Manifest"),
# assetsenv.GlobRecursive(
# "*", assetsenv.Dir("resources").srcnode(), exclude="Manifest"
# ),
action=Action(
'${PYTHON3} "${ASSETS_COMPILER}" manifest "${TARGET.dir.posix}" --timestamp=${GIT_UNIX_TIMESTAMP}',
"${RESMANIFESTCOMSTR}",
Expand Down

0 comments on commit fbe9175

Please sign in to comment.