No known key found for this signature in database
GPG key ID:
4AEE18F83AFDEB23
18 changed files with
18 additions and
18 deletions
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
#
|
|
|
|
|
# build.sh compiles dnote binary for target platforms. It is resonsible for creating
|
|
|
|
|
# distributable files that can be released by a human or a script.
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# dev.sh builds a new binary and replaces the old one in the PATH with it
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# dump_schema.sh dumps the current system's dnote schema
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# run_server_test.sh runs server test files sequentially
|
|
|
|
|
# https://stackoverflow.com/questions/23715302/go-how-to-run-tests-for-multiple-packages
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
basePath="$GOPATH/src/github.com/dnote/dnote/pkg/server/api"
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# setup.sh installs programs and depedencies necessary to run the project locally
|
|
|
|
|
# usage: ./setup.sh
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
|
# test-local.sh runs api tests using local setting
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# test.sh runs api tests. It is to be invoked by other scripts that set
|
|
|
|
|
# appropriate env vars.
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# create-migration.sh creates a new SQL migration file for the
|
|
|
|
|
# server side Postgres database using the sql-migrate tool.
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
@ -1,3 +1,3 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
go get -v github.com/rubenv/sql-migrate/...
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
version=$1
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
|
|
function remove_notice {
|
|
|
|
|
sed -i -e '/\/\* Copyright/,/\*\//d' "$1"
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
#
|
|
|
|
|
# release.sh releases the tarballs and checksum in the build directory
|
|
|
|
|
# to GitHub and brew. A prerequisite is to build those files using build.sh.
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# build.sh builds a production bundle
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# build.sh builds a bundle
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# shellcheck disable=SC1090
|
|
|
|
|
# dev.sh builds and starts development environment for standalone app
|
|
|
|
|
set -eux -o pipefail
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
# setup.sh prepares the directory structure and copies static files
|
|
|
|
|
set -eux -o pipefail
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,4 +1,4 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
set -eux
|
|
|
|
|
|
|
|
|
|
basePath="$GOPATH/src/github.com/dnote/dnote"
|
|
|
|
|
|