Skip to content

sdevenes/test-gradle

Repository files navigation

FunGraphics

A library used for teaching computer science in the ISC degree programme, notably for the course 101.1.

Origin

This library has been developed for the PImp and the inf1 courses at the HES-SO Valais//Wallis.

Compiling

  • UNIX-like (Linux, MacOS X, ...) : ./gradlew build
  • Windows : gradlew.bat build

results :

File Description
build/fungraphics-dev.jar The latest build of the library, constant name, useful for testing.
build/libs/fungraphics-VERSION.jar The same file with a versioned name.

Version

The version number used in the file name and available using FunGraphics.version() is generated by inspecting the git state (see com.palantir.git-version for details).

Here is an example : 1.5.7-3-g2aabbbf.dirty

  • 1.5.7 is the last tag
  • -3- we are 3 commits after the tag
  • g2aabbbf : git short hash
  • .dirty : some changes are not committed

How to release (and have a nice version number)

  1. git commit
  2. git tag -a MAJOR.MINOR.SUB -m "tag vMAJOR.MINOR.SUB"
  3. git push origin MAJOR.MINOR.SUB
  4. compile

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published