Add TODO to install.py, and explicitly set CGO_ENABLED=1

This commit is contained in:
David Dworken 2022-04-19 22:22:04 -07:00
parent a24676988d
commit 7e4f8e060f
4 changed files with 11 additions and 1 deletions

View File

@ -1,5 +1,8 @@
version: 1
env:
- CGO_ENABLED=1
flags:
- -trimpath

View File

@ -1,5 +1,8 @@
version: 1
env:
- CGO_ENABLED=1
flags:
- -trimpath

View File

@ -1,5 +1,8 @@
version: 1
env:
- CGO_ENABLED=1
flags:
- -trimpath

View File

@ -30,4 +30,5 @@ with open('/tmp/hishtory-client', 'wb') as f:
f.write(hishtory_binary)
os.system('chmod +x /tmp/hishtory-client')
os.system('/tmp/hishtory-client install')
print('Succesfully installed hishtory! Try running a command and then running `hishtory query`.')
# TODO: Detect if ^ failed
print('Succesfully installed hishtory! Open a new terminal, try running a command, and then running `hishtory query`.')