Skip to content

Commit

Permalink
feat: Change appmap tools command to 'appmap'
Browse files Browse the repository at this point in the history
Was: '/tmp/appmap'
  • Loading branch information
kgilpin committed May 18, 2023
1 parent 090ce20 commit 0ff9b77
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/workflows/appmap-archive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
run: |
curl -o /usr/local/bin/appmap -L https://github.com/getappmap/appmap-js/releases/download/%40appland%2Fappmap-preflight-v1.0-pre.19/appmap-preflight-linux-x64
chmod a+x /usr/local/bin/appmap
ln -s /usr/local/bin/appmap /tmp/appmap
- name: Build AppMaps
run: yarn test
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
run: |
curl -o /usr/local/bin/appmap -L https://github.com/getappmap/appmap-js/releases/download/%40appland%2Fappmap-preflight-v1.0-pre.19/appmap-preflight-linux-x64
chmod a+x /usr/local/bin/appmap
ln -s /usr/local/bin/appmap /tmp/appmap
- name: Build
run: yarn build
Expand Down
14 changes: 7 additions & 7 deletions dist/preflight/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/preflight/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/Archiver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import log, {LogLevel} from './log';
import verbose from './verbose';

export default class Archiver {
public appmapCommand = '/tmp/appmap';
public appmapCommand = 'appmap';
public archiveBranch = 'appmap-archive';

constructor(public artifactStore: ArtifactStore, public revision: string) {}
Expand Down
2 changes: 1 addition & 1 deletion src/Compare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import log, {LogLevel} from './log';
import verbose from './verbose';

export default class Compare {
public appmapCommand = '/tmp/appmap';
public appmapCommand = 'appmap';
public sourceDir?: string;
public outputDir?: string;

Expand Down
2 changes: 1 addition & 1 deletion src/MarkdownReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {executeCommand} from './executeCommand';
import verbose from './verbose';

export default class MarkdownReport {
public appmapCommand = '/tmp/appmap';
public appmapCommand = 'appmap';

constructor(public reportDir: string, public options: ReportOptions) {
if (options.appmapCommand) this.appmapCommand = options.appmapCommand;
Expand Down
2 changes: 1 addition & 1 deletion src/Restore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import verbose from './verbose';
export default class Restore {
public repository?: string;
public githubToken?: string;
public appmapCommand = '/tmp/appmap';
public appmapCommand = 'appmap';

constructor(public revision: string, public outputDir: string) {}

Expand Down
2 changes: 1 addition & 1 deletion src/preflight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ async function runLocally() {
});
parser.add_argument('-v', '--verbose');
parser.add_argument('-d', '--directory', {help: 'Program working directory'});
parser.add_argument('--appmap-command', {default: '/tmp/appmap'});
parser.add_argument('--appmap-command', {default: 'appmap'});
parser.add_argument('--base-revision', {required: true});
parser.add_argument('--head-revision', {required: true});
parser.add_argument('--source-dir');
Expand Down
2 changes: 1 addition & 1 deletion src/summarize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function main() {
});
parser.add_argument('-v', '--verbose', {type: Boolean});
parser.add_argument('-d', '--directory', {help: 'Program working directory'});
parser.add_argument('--appmap-command', {default: '/tmp/appmap'});
parser.add_argument('--appmap-command', {default: 'appmap'});
parser.add_argument('--report-dir', {required: true});
parser.add_argument('--source-url');
parser.add_argument('--appmap-url');
Expand Down

0 comments on commit 0ff9b77

Please sign in to comment.