File tree 4 files changed +29
-1
lines changed
4 files changed +29
-1
lines changed Original file line number Diff line number Diff line change
1
+ manifest_version : " 1"
2
+ name : acorn
3
+ description : productivity tool for distributed software teams
4
+ roles :
5
+ - id : acorn-applet
6
+ provisioning :
7
+ strategy : create
8
+ deferred : false
9
+ dna :
10
+ bundled : " ../projects.dna"
11
+ clone_limit : 0
Original file line number Diff line number Diff line change
1
+ ---
2
+ manifest_version : " 1"
3
+ name : acorn-applet
4
+ ui :
5
+ bundled : " ../../../web/ui.zip"
6
+ happ_manifest :
7
+ bundled : " ../acorn_applet.happ"
Original file line number Diff line number Diff line change 12
12
"happ-install" : " bash scripts/install-hc-tools.sh" ,
13
13
"happ-test" : " bash scripts/happ-test.sh" ,
14
14
"happ-pack" : " bash scripts/happ-pack.sh" ,
15
+ "applet-happ-pack" : " bash scripts/applet-happ-pack.sh" ,
15
16
"happ-reset" : " npm run happ-pack && npm run user-data-reset" ,
16
17
"user-data-reset" : " rm -rf user2-data && rm -rf user-data && mkdir user2-data user-data" ,
17
18
"web-install" : " cd web && npm install" ,
20
21
"web-build" : " cd web && npx webpack --config webpack.prod.js" ,
21
22
"applet-build" : " cd web && npx webpack --config webpack.applet.js" ,
22
23
"package-applet-ui" : " rimraf ui.zip && npm run applet-build && cd web/applet-dist && bestzip ../ui.zip index.js" ,
23
- "package-applet" : " rimraf ./happ/workdir/acorn-applet.webhapp && npm run package-applet-ui && hc web-app pack ./happ/workdir" ,
24
+ "package-applet" : " rimraf ./happ/workdir/acorn-applet.webhapp && npm run applet-happ-pack && npm run package-applet-ui && hc web-app pack ./happ/workdir/applet " ,
24
25
"electron-install" : " cd electron && npm install" ,
25
26
"electron" : " cd electron && npm run start" ,
26
27
"electron2" : " cd electron && ACORN_TEST_USER_2=1 npm run start" ,
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Compile the WASM
3
+ cargo build --release --target wasm32-unknown-unknown --manifest-path happ/zomes/projects/Cargo.toml
4
+ cargo build --release --target wasm32-unknown-unknown --manifest-path happ/zomes/projects_integrity/Cargo.toml
5
+ # Pack DNAs
6
+ hc dna pack --output=happ/workdir/projects.dna happ/workdir/dna/projects
7
+
8
+ # Pack hApp
9
+ hc app pack --output=happ/workdir/acorn_applet.happ happ/workdir/applet
You can’t perform that action at this time.
0 commit comments