1
0
mirror of https://github.com/janet-lang/janet synced 2025-04-27 13:13:14 +00:00

Update changelog and ensure consistent version strings.

This commit is contained in:
Calvin Rose 2024-08-10 15:21:43 -05:00
parent ab70524d85
commit e3406cd922
3 changed files with 14 additions and 5 deletions

View File

@ -1,6 +1,10 @@
# Changelog # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## Unreleased - ???
- Add `array/join`
- Add `tuple/join`
## 1.35.2 - 2024-06-16 ## 1.35.2 - 2024-06-16
- Add `bundle/add-bin` to make installing scripts easier. This also establishes a packaging convention for it. - Add `bundle/add-bin` to make installing scripts easier. This also establishes a packaging convention for it.
- Let range take non-integer values. - Let range take non-integer values.

View File

@ -22,7 +22,7 @@
#include <janet.h> #include <janet.h>
#include <assert.h> #include <assert.h>
#include <stdio.h> #include <string.h>
#include <math.h> #include <math.h>
#include "tests.h" #include "tests.h"
@ -35,6 +35,11 @@ int system_test() {
assert(sizeof(void *) == 8); assert(sizeof(void *) == 8);
#endif #endif
/* Check the version defines are self consistent */
char version_combined[256];
sprintf(version_combined, "%d.%d.%d%s", JANET_VERSION_MAJOR, JANET_VERSION_MINOR, JANET_VERSION_PATCH, JANET_VERSION_EXTRA);
assert(!strcmp(JANET_VERSION, version_combined));
/* Reflexive testing and nanbox testing */ /* Reflexive testing and nanbox testing */
assert(janet_equals(janet_wrap_nil(), janet_wrap_nil())); assert(janet_equals(janet_wrap_nil(), janet_wrap_nil()));
assert(janet_equals(janet_wrap_false(), janet_wrap_false())); assert(janet_equals(janet_wrap_false(), janet_wrap_false()));

View File

@ -4,10 +4,10 @@
#define JANETCONF_H #define JANETCONF_H
#define JANET_VERSION_MAJOR 1 #define JANET_VERSION_MAJOR 1
#define JANET_VERSION_MINOR 35 #define JANET_VERSION_MINOR 36
#define JANET_VERSION_PATCH 2 #define JANET_VERSION_PATCH 0
#define JANET_VERSION_EXTRA "" #define JANET_VERSION_EXTRA "-dev"
#define JANET_VERSION "1.35.2" #define JANET_VERSION "1.36.0-dev"
/* #define JANET_BUILD "local" */ /* #define JANET_BUILD "local" */