Skip to content

Commit

Permalink
Build: Rename canisters (#17)
Browse files Browse the repository at this point in the history
* Fix: Works with dfx@0.5.2

* Build: Rename canisters

* Fix: Remove accidentally committed file

* Build: Rename canisters

* Fix: Remove accidentally committed file
  • Loading branch information
Stanley Jones authored Mar 6, 2020
1 parent c9e7414 commit 2e5e0db
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ install:
- export PATH=/home/$USER/bin:$PATH
script:
- sh bootstrap.sh
- ID=$(xxd -p canisters/profile/_canister.id)
- ID=$(xxd -p canisters/linkedup/_canister.id)
- CRC=$(python2 -c "import crc8;h=crc8.crc8();h.update('$ID'.decode('hex'));print(h.hexdigest())")
- wget -O index.html http://127.0.0.1:8000/?canisterId=ic:$ID$CRC
- wget -O index.html http://127.0.0.1:8000/?canisterId=ic:$ID$CRC
- cat index.html
14 changes: 7 additions & 7 deletions dfx.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"canisters": {
"graph": {
"main": "src/graph/main.mo"
"connectd": {
"main": "src/connectd/main.mo"
},
"profile": {
"main": "src/profile/main.mo",
"linkedup": {
"main": "src/linkedup/main.mo",
"frontend": {
"entrypoint": "src/profile/public/main.js",
"entrypoint": "src/linkedup/public/main.js",
"assets": [
"src/profile/public/*.html",
"src/profile/public/*.css"
"src/linkedup/public/*.html",
"src/linkedup/public/*.css"
]
}
}
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/profile/main.mo → src/linkedup/main.mo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Make the Graph app's public methods available locally
import Graph "canister:graph";
import Graph "canister:connectd";

import Database "./database";
import Types "./types";
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/profile/public/main.js → src/linkedup/public/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import Typed from 'typed.js';
import 'bootstrap';

// Make the Profile app's public methods available locally
import profile from 'ic:canisters/profile';
import profile from 'ic:canisters/linkedup';

import { ownProfilePageTmpl, profilePageTmpl, searchResultsPageTmpl } from './templates';
import { injectHtml } from './utils';
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2e5e0db

Please sign in to comment.