Skip to content

Commit

Permalink
Upgrade: satus 2.0-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
adokseo committed Apr 22, 2020
1 parent 019e78f commit f0c683b
Show file tree
Hide file tree
Showing 66 changed files with 4,238 additions and 3,097 deletions.
3 changes: 0 additions & 3 deletions _locales/en/messages.json

This file was deleted.

File renamed without changes.
File renamed without changes.
31 changes: 0 additions & 31 deletions background.js

This file was deleted.

23 changes: 23 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import json
import pathlib
import re

with open("config.json") as json_file:
data = json.load(json_file)

for target_key in data:
if re.search(r"\/", target_key):
pathlib.Path(target_key).mkdir(parents=True, exist_ok=True)

file = open(target_key.search(r"[ \w-]+\.[\w-]*$").group(0), "w", encoding='utf-8')
else:
file = open(target_key, "w", encoding='utf-8')

for source_key in data[target_key]:
source_file = open(source_key, "r", encoding='utf-8')

file.write("\r\n" + "".join(source_file.readlines()))

source_file.close()

file.close()
74 changes: 0 additions & 74 deletions components/button/button.css

This file was deleted.

31 changes: 0 additions & 31 deletions components/button/button.js

This file was deleted.

66 changes: 0 additions & 66 deletions components/checkbox/checkbox.css

This file was deleted.

29 changes: 0 additions & 29 deletions components/checkbox/checkbox.js

This file was deleted.

45 changes: 0 additions & 45 deletions components/context-menu/context-menu.css

This file was deleted.

30 changes: 0 additions & 30 deletions components/context-menu/context-menu.js

This file was deleted.

Loading

0 comments on commit f0c683b

Please sign in to comment.