Skip to content

Commit

Permalink
Update changelog and ensure consistent version strings.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpakin committed Aug 10, 2024
1 parent ab70524 commit e3406cd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
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
- Add `bundle/add-bin` to make installing scripts easier. This also establishes a packaging convention for it.
- Let range take non-integer values.
Expand Down
7 changes: 6 additions & 1 deletion src/boot/system_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

#include <janet.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <math.h>

#include "tests.h"
Expand All @@ -35,6 +35,11 @@ int system_test() {
assert(sizeof(void *) == 8);
#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 */
assert(janet_equals(janet_wrap_nil(), janet_wrap_nil()));
assert(janet_equals(janet_wrap_false(), janet_wrap_false()));
Expand Down
8 changes: 4 additions & 4 deletions src/conf/janetconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
#define JANETCONF_H

#define JANET_VERSION_MAJOR 1
#define JANET_VERSION_MINOR 35
#define JANET_VERSION_PATCH 2
#define JANET_VERSION_EXTRA ""
#define JANET_VERSION "1.35.2"
#define JANET_VERSION_MINOR 36
#define JANET_VERSION_PATCH 0
#define JANET_VERSION_EXTRA "-dev"
#define JANET_VERSION "1.36.0-dev"

/* #define JANET_BUILD "local" */

Expand Down

0 comments on commit e3406cd

Please sign in to comment.