Last active
September 18, 2019 16:49
-
-
Save BoQsc/14aeeecb1031d2e55df604fe0e4729f4 to your computer and use it in GitHub Desktop.
D lang Dub project creation using batch script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
## https://stackoverflow.com/questions/16508817/how-do-i-provide-input-to-a-c-program-from-bash/16509089#16509089 | |
rm "dub.json" | |
rm "dub.sdl" | |
rm ".gitignore" | |
rm -r "source" | |
( | |
echo "sdl" #Package recipe format | |
echo "testingprojectname" #name | |
echo "" #description | |
echo "authornamehere" #authors | |
echo "" #license | |
echo "" #copyright | |
) | dub init | |
exit | |
##dub init << \ | |
##"EOF" | |
##sdl | |
#newgameproject | |
# | |
#boqsc | |
# | |
#EOF | |
#echo test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment