release 0.0.1

This commit is contained in:
Francesco Mecca 2020-01-31 13:32:19 +01:00
parent dc13e4a770
commit aa8d506f94
3 changed files with 35 additions and 6 deletions

26
.gitignore vendored Normal file
View file

@ -0,0 +1,26 @@
asino
.gdb_history
# Compiled Object files
*.o
*.obj
# Compiled Dynamic libraries
*.so
*.dylib
*.dll
# Compiled Static libraries
*.a
*.lib
# Executables
*.exe
# DUB
.dub
docs.json
__dummy.html
docs/
# Code coverage
*.lst

5
Makefile Normal file
View file

@ -0,0 +1,5 @@
asino:
ldc2 -O2 asino.d
clean: asino.o
rm asino.o

View file

@ -21,12 +21,11 @@ extern(C)
int poll(pollfd *fds, int nfds, int timeout); int poll(pollfd *fds, int nfds, int timeout);
} }
enum VERSION = "0.0.1";
string versionSt = "...a man, being just as hungry as thirsty, string versionSt = "...a man, being just as hungry as thirsty,
and placed in between food and drink, and placed in between food and drink,
must necessarily remain where he is and starve to death must necessarily remain where he is and starve to death
Aristole\n\n"~"asino "~VERSION;
Aristole";
void void
main (string[] args) main (string[] args)
@ -51,7 +50,6 @@ main (string[] args)
} }
string[] lines = void; string[] lines = void;
writeln(isaTTY());
if(isaTTY()){ if(isaTTY()){
// read stdin, ignore cli args // read stdin, ignore cli args
auto p = stdin.byLineCopy(No.keepTerminator).array(); auto p = stdin.byLineCopy(No.keepTerminator).array();