-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Flutter snap #57
base: master
Are you sure you want to change the base?
Flutter snap #57
Conversation
…ktop application and make a snap package out of it
|
||
|
||
# TODO: | ||
# 1. Output errros and warnings correctly to STDERR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/erros/errors/
|
||
# Generate the snap package | ||
snapcraft | ||
if [[ $? -ne 0]] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/0]]/0 ]]/
@@ -0,0 +1,82 @@ | |||
#!/bin/sh |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mudar para #!/bin/bash
isto usa bash built-ins como o [[ ... ]]
Para resolver o #26, segue o commit inicial do snapcraft.yaml para gerar o snap da aplicação em flutter, e de um script em bash, para automatizar o processo de ter snapcraft e de passos que têm de ser tomados antes de o correr por a aplicação Flutter não estar na raiz do repositório.