Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change directory tree #303

Merged
merged 3 commits into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ popup=dist/chrome/js/popup.js
background=dist/chrome/js/background.js
supporters=dist/chrome/js/supporters.js

rollup src/options.js --file $options
rollup src/popup.js --file $popup
rollup src/background.js --file $background
rollup src/supporters.js --file $supporters
rollup src/js/options.js --file $options
rollup src/js/popup.js --file $popup
rollup src/js/background.js --file $background
rollup src/js/supporters.js --file $supporters

\cp -f $options dist/firefox/js/options.js
\cp -f $popup dist/firefox/js/popup.js
Expand All @@ -26,9 +26,9 @@ jq -s '.[0] * .[1]' manifest.json manifest_firefox.json > dist/firefox/manifest.

for brw in `ls dist`
do
\cp src/content.js dist/$brw/js/
\cp src/attach_target.js dist/$brw/js/
\cp -r *.html dist/$brw/
\cp src/js/content.js dist/$brw/js/
\cp src/js/attach_target.js dist/$brw/js/
\cp -r src/*.html dist/$brw/
\cp -r icons dist/$brw/
done
echo "build done"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"archive": "npm run build; ./bin/archive.sh",
"build": "./bin/build.sh",
"test": "mocha --timeout 10000 test/lib/*.test.js",
"test": "mocha --timeout 10000 src/js/**/*.test.js",
"test_ci": "",
"coverage": "codecov"
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from 'chai';
import { JSDOM } from 'jsdom';
import { createRoleListItem } from '../../src/lib/create_role_list_item.js';
import { createRoleListItem } from './create_role_list_item.js';

describe('createRoleListItem', () => {
let window;
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from 'chai'
import { DataProfilesSplitter } from '../../src/lib/data_profiles_splitter.js'
import { DataProfilesSplitter } from './data_profiles_splitter.js'

describe('DataProfilesSplitter', () => {
const dps = new DataProfilesSplitter();
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from 'chai'
import { loadAwsConfig } from '../../src/lib/load_aws_config.js'
import { loadAwsConfig } from './load_aws_config.js'

describe('loadAwsConfig', () => {
describe('Simple Configuration', () => {
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { expect } from 'chai';
import { createProfileSet } from '../../src/lib/profile_set.js';
import { createProfileSet } from './profile_set.js';

describe('createProfileSet', () => {
describe('when userInfo is on logged-in', () => {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.