Created
April 27, 2021 17:21
-
-
Save Dragod/618cedfc689c28c21c9e03208b720906 to your computer and use it in GitHub Desktop.
Create build.js from bash script
This file contains 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
#!/bin/bash | |
FILE=build.js | |
if test -f "$FILE"; then | |
printf "\r\n$FILE already exists, start use node build with \"node build --cmd\"\n" | |
else | |
echo "let build = require('sd-unity-build');" > build.js | |
printf "\r\nbuild.js created, start use node build with \"node build --cmd\"\n" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment