Skip to content

Commit

Permalink
release: v0.2.7
Browse files Browse the repository at this point in the history
Simple release of the Files IO module

Signed-off-by: Eric Bode <eric.bode@foundries.io>
  • Loading branch information
StealthyCoder committed Mar 14, 2022
1 parent e9f3b29 commit db6f5d1
Show file tree
Hide file tree
Showing 31 changed files with 66 additions and 92 deletions.
13 changes: 8 additions & 5 deletions .sh/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,16 @@ function fix_location {
function fix_versions {
for shell in "${shells[@]}"
do
shopt -s dotglob
for f in ../src/"$shell"/**/*
shopt -s globstar dotglob
for f in ../src/"$shell"/**
do
sed -i -e "s/{CRUCIBLE_VERSION}/$NEW_VERSION/" "$f"
sed -i -e "s/{CRUCIBLE_CREATED}/$(date +%s)/" "$f"
if [ -f "$f" ]
then
sed -i -e "s/{CRUCIBLE_VERSION}/$NEW_VERSION/" "$f"
sed -i -e "s/{CRUCIBLE_CREATED}/$(date +%s)/" "$f"
fi
done
shopt -u dotglob
shopt -u globstar dotglob
done
}

Expand Down
4 changes: 2 additions & 2 deletions src/bash/arrays/arrays.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.0
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1577713471
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
9 changes: 2 additions & 7 deletions src/bash/bin/crucible
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
#!/usr/bin/env bash
<<<<<<< HEAD
CRUCIBLE_VERSION=0.2.1
CRUCIBLE_LOCATION=v0.2.1
=======
CRUCIBLE_VERSION=0.2.0
CRUCIBLE_LOCATION=v0.2.0
>>>>>>> a096592 (Released version 0.2.0)
CRUCIBLE_VERSION=0.2.7
CRUCIBLE_LOCATION=v0.2.7

function get_uuid {
grep 'id' .crucible | cut -d'=' -f 2
Expand Down
4 changes: 2 additions & 2 deletions src/bash/core/.internal.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.1
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1578009741
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

require logging/logging
Expand Down
4 changes: 2 additions & 2 deletions src/bash/core/dummy.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.0
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1577713471
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

function noop {
Expand Down
4 changes: 2 additions & 2 deletions src/bash/core/mould.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.0
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1577713471
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

function require {
Expand Down
4 changes: 2 additions & 2 deletions src/bash/dates/dates.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.2
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1582286436
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

require dates/utc
Expand Down
4 changes: 2 additions & 2 deletions src/bash/dates/local.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.2
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1582286436
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

function dates.local.now {
Expand Down
4 changes: 2 additions & 2 deletions src/bash/dates/utc.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.2
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1582286436
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

function dates.utc.now {
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/dirs.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/dirs/group.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/dirs/other.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/dirs/safe.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require io/files/dirs
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/dirs/safe/group.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/dirs/safe/other.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/dirs/safe/user.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/dirs/user.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/files.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/group.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/other.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/safe.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require io/files/files
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/safe/group.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/safe/other.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/safe/user.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/io/files/users.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647268068
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
24 changes: 0 additions & 24 deletions src/bash/io/text.sh

This file was deleted.

4 changes: 2 additions & 2 deletions src/bash/logging/.constants.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.1
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1578009741
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

function logging.color.escape_char {
Expand Down
4 changes: 2 additions & 2 deletions src/bash/logging/.internal.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.1
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1578009741
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

require logging/.constants
Expand Down
4 changes: 2 additions & 2 deletions src/bash/logging/logging.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.1
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1578009741
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

require logging/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/maps/maps.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION=0.2.5
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED=1596058258
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

require core/.internal
Expand Down
4 changes: 2 additions & 2 deletions src/bash/strings/strings.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/env bash
### CRUCIBLE META DATA ###
# CRUCIBLE_VERSION={CRUCIBLE_VERSION}
# CRUCIBLE_VERSION=0.2.7
# CRUCIBLE_AUTHOR=StealthyCoder
# CRUCIBLE_CREATED={CRUCIBLE_CREATED}
# CRUCIBLE_CREATED=1647267741
### CRUCIBLE META DATA ###

require core/.internal
Expand Down

0 comments on commit db6f5d1

Please sign in to comment.