Skip to content

Commit b06c3f0

Browse files
authored
Bringing the name of the example projects to a single name (#154)
* Add settings file for examples * Remove unused files * Remove settings file to use in-place replace
1 parent 573f1d6 commit b06c3f0

File tree

4 files changed

+2
-25
lines changed

4 files changed

+2
-25
lines changed
Binary file not shown.

examples/material/custom_sprite/custom_sprite_shader_asmjs.js

Lines changed: 0 additions & 24 deletions
This file was deleted.

examples/material/custom_sprite/custom_sprite_shader_wasm.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

update.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -736,6 +736,8 @@ def process_examples(download = False):
736736
print("..building %s" % example)
737737
bob_out = os.path.join(example_src_dir, bob_jar)
738738
shutil.copyfile(bob_jar, bob_out)
739+
game_project = os.path.join(example_src_dir, "game.project")
740+
replace_in_file(game_project, r"title = .*", r"title = Defold-examples")
739741
subprocess.call([ "java", "-jar", bob_out, "--archive", "--platform", "js-web", "--variant", "debug", "resolve", "build", "bundle" ], cwd=example_src_dir)
740742
os.remove(bob_out)
741743

0 commit comments

Comments
 (0)