3
5
Fork
You've already forked smolweb-validator
4

Fix shell scripts, clean unnecessary files, add clean.sh #1

Merged
adele merged 5 commits from evgandr/smolweb-validator:main into main 2025年09月11日 08:38:43 +02:00
Contributor
Copy link

Hello! In this PR the next things changed:

  1. Removed *.class files since they are just an intermediate results of building the program and not necessary in the source code repository.
  2. Removed *.jar file since it could be downloaded from the remote repository/file storage (usually the build system like Maven or Gradle can do it automatically).
  3. Fix she-bangs in shell scripts, so now they can be launched not only in Linux but in the *BSD and other Unix-like OSes too.
  4. Add .gitignore file to prevent accidentally adding of *.class and *.jar files to the repository.
  5. Add clean.sh script to clean working directory from results of compilation.

Ideally, the some build system, like Maven or Gradle, can perform all necessary tasks (downloading right version of library and other dependencies if any, building the source and/or cleaning the working directory), so maybe it will be good to add it in the future.

Hello! In this PR the next things changed: 1. Removed `*.class` files since they are just an intermediate results of building the program and not necessary in the source code repository. 2. Removed `*.jar` file since it could be downloaded from the remote repository/file storage (usually the build system like Maven or Gradle can do it automatically). 2. Fix she-bangs in shell scripts, so now they can be launched not only in Linux but in the *BSD and other Unix-like OSes too. 3. Add `.gitignore` file to prevent accidentally adding of `*.class` and `*.jar` files to the repository. 4. Add `clean.sh` script to clean working directory from results of compilation. ------------------------ Ideally, the some build system, like Maven or Gradle, can perform all necessary tasks (downloading right version of library and other dependencies if any, building the source and/or cleaning the working directory), so maybe it will be good to add it in the future.
Since it will be downloaded by build.sh script, this JAR file is not
necessary in the source code of program.
For now shell scripts can be launched not only in Linux
Owner
Copy link

Thanks @evgandr

It had been a long time since I had developed in Java, and I admit that at that time, it was closed code and the delivery processes were very different ^^

Thanks @evgandr It had been a long time since I had developed in Java, and I admit that at that time, it was closed code and the delivery processes were very different ^^
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
smolweb/smolweb-validator!1
Reference in a new issue
smolweb/smolweb-validator
No description provided.
Delete branch "evgandr/smolweb-validator:main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?