Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Commit

Permalink
ghclone can't clone subdirectories of subdirectories
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivangKakkar committed Dec 31, 2021
1 parent 5f3fa53 commit e981366
Show file tree
Hide file tree
Showing 20 changed files with 3 additions and 7 deletions.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 2 additions & 6 deletions pystark/console.py
Expand Up @@ -57,11 +57,7 @@ def main():
def boilerplate(special=False):
os.system('pip install github-clone --quiet')
if special:
os.system('ghclone https://github.com/StarkBotsIndustries/PyStark/tree/master/boilerplate/special')
os.system('ghclone https://github.com/StarkBotsIndustries/PyStark/tree/master/boilerplate_starkbots')
else:
os.system('ghclone https://github.com/StarkBotsIndustries/PyStark/tree/master/boilerplate/normal')
os.system('ghclone https://github.com/StarkBotsIndustries/PyStark/tree/master/boilerplate')
os.system('pip uninstall github-clone --quiet -y')
if special:
os.rename('special', 'boilerplate')
else:
os.rename('normal', 'boilerplate')
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -25,7 +25,7 @@
with open("requirements.txt", encoding="utf-8") as r:
install_requires = [i.strip() for i in r]

packages = find_packages(exclude=["boilerplate*"])
packages = find_packages()

setup(
name='PyStark',
Expand Down

0 comments on commit e981366

Please sign in to comment.