You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
For example, if I were to create a file called main.swift and fill it with:
#!/usr/local/bin/apous
print("Hello, World!")
then executing the following:
$ chmod +x main.swift
$ ./main.swift
Would simply output
Hello, World!
However, if I were to rename it to just main, or main1.swift, it starts throwing errors:
$ ./main
<unknown>:0: error: no input files
$ ./main1.swift
Only a 'main.swift' file can be specified.
If I wanted to, for example, have a build script created through apous, calling the file main.swift would be sort of ridiculous, setup or install makes much more sense.
Just a few thoughts - I really like apous either way 👍
The text was updated successfully, but these errors were encountered:
For example, if I were to create a file called
main.swift
and fill it with:then executing the following:
Would simply output
However, if I were to rename it to just
main
, ormain1.swift
, it starts throwing errors:$ ./main1.swift Only a 'main.swift' file can be specified.
If I wanted to, for example, have a build script created through apous, calling the file
main.swift
would be sort of ridiculous,setup
orinstall
makes much more sense.Just a few thoughts - I really like apous either way 👍
The text was updated successfully, but these errors were encountered: