Skip to content

Commit

Permalink
Updated gomod sum ref
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-watts committed Jul 26, 2021
1 parent 5090aa8 commit 77c42b2
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 2,262 deletions.
4 changes: 2 additions & 2 deletions app/empty-tt/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Package ett adds command line flags to the module
package main

/*Copyright (c) 2020, Jack Watts. All rights reserved.
This program is free software : you can redistribute it and / or modify
Expand All @@ -19,7 +20,6 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
You should have received a copy of the GNU General Public License
along with this program.If not, see <http://www.gnu.org/licenses/>.*/
package ett

import (
"flag"
Expand Down
15 changes: 1 addition & 14 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
#!/usr/bin/env bashTIME=$(date)
# Set version details
LASTVERSION=$(git tag | tail -1)
if [ -z "$LASTVERSION" ]; then
LASTVERSION="0.1.0"
fi
if [ -n "$LASTVERSION" ]; then
major=`printf $LASTVERSION | cut -d. -f1`
minor=`printf $LASTVERSION | cut -d. -f2`
patch=`printf $LASTVERSION | cut -d. -f3`
patch=`expr $patch + 1`
fi
VERSION=$major"."$minor"."$patch

# set exit status
EXIT_STATUS=$?

Expand All @@ -24,7 +11,7 @@ BUILD_DIR="$(cd -P "$(dirname "$SOURCE")" && pwd)"

cd build/
printf "Building empty-tt..."
if go build -o bin/empty-tt app/empty-tt/main.go; then
if go build -o bin/empty-tt ../app/empty-tt/main.go; then
printf "\rempty-tt: Build Succeeded\n"
else
printf "\rempty-tt: Build Failed\n"
Expand Down
Loading

0 comments on commit 77c42b2

Please sign in to comment.