sigonasr2
d91f337f48
|
2 years ago | |
---|---|---|
.vscode | 2 years ago | |
C++/scripts | 2 years ago | |
art | 2 years ago | |
sol | 2 years ago | |
utils | 2 years ago | |
Block.cpp | 2 years ago | |
Block.h | 2 years ago | |
C++ProjectTemplate | 2 years ago | |
C++ProjectTemplate.html | 2 years ago | |
C++ProjectTemplate.js | 2 years ago | |
C++ProjectTemplate.wasm | 2 years ago | |
IBM Logo.ch8 | 2 years ago | |
Path.cpp | 2 years ago | |
Path.h | 2 years ago | |
Polygon.cpp | 2 years ago | |
Polygon.h | 2 years ago | |
README.md | 2 years ago | |
a.out | 2 years ago | |
baseboard.png | 2 years ago | |
border.png | 2 years ago | |
buildtemplate.html | 2 years ago | |
car.png | 2 years ago | |
circulardevice.png | 2 years ago | |
co2.png | 2 years ago | |
coloredside.png | 2 years ago | |
config.hpp | 2 years ago | |
data.lua | 2 years ago | |
dependentClasses.zip | 2 years ago | |
diff | 2 years ago | |
dirtblock.png | 2 years ago | |
forward.hpp | 2 years ago | |
grass.png | 2 years ago | |
hills.png | 2 years ago | |
lightup.png | 2 years ago | |
main.cpp | 2 years ago | |
olcutils.h | 2 years ago | |
out | 2 years ago | |
pixelGameEngine.cpp | 2 years ago | |
pixelGameEngine.h | 2 years ago | |
pixelGameEngine.o | 2 years ago | |
quickgui.h | 2 years ago | |
road.png | 2 years ago | |
sig | 2 years ago | |
sol.hpp | 2 years ago | |
start.png | 2 years ago |
README.md
This repository contains general build scripts and pipelines for all languages that I incorporate in my projects. The goal is to provide an easy retrieval and update system for the project. Each script will be a shell script containing the following template:
#Short description about what I do
#Language[Folder]
# #The script's code goes in here.
# rm -Rf out/*
# javac -Xlint:unchecked -cp ${PROJECT_DIR}/.. -d ${OUT_DIR} ${PROJECT_DIR}/*.java
# printf "\n\n\nRunning Program...\n\n"
# cd $OUT_DIR
# java ${MAIN_CLASS} "$@"
# ../scripts/clean.sh
Each language will be in the following structure:
-<Language>
--<scripts>
---[script files.sh]
The sig
script will display by default any scripts in the scripts
folder, therefore when creating a project, copy over the scripts folder of the desired language into your project then the sig
script handles the rest appropriately. If your project requires multiple languages and build setups, then you can use the sig2
command, which has an additional parameter to specify the language when running it. When setting up a multi-language setup, you'll just copy the entire folder to include the programming language itself. So a multi-language project structure may look something like this:
-C
--scripts
---build.sh
---clean.sh
---make.sh
-Java
--scripts
---build.sh
---clean.sh
---jar.sh