mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
README instructions for using browser snowflake
This commit is contained in:
parent
487dfe697a
commit
17f30d1091
2 changed files with 50 additions and 12 deletions
|
@ -2,7 +2,7 @@ fs = require 'fs'
|
|||
|
||||
{exec} = require 'child_process'
|
||||
|
||||
task 'test', 'snowflake unit tests', () ->
|
||||
task 'test', 'snowflake unit tests', ->
|
||||
testFile = 'test/snowflake.bundle.coffee'
|
||||
exec 'cat snowflake.coffee snowflake_test.coffee | cat > ' + testFile, (err, stdout, stderr) ->
|
||||
throw err if err
|
||||
|
@ -10,3 +10,8 @@ task 'test', 'snowflake unit tests', () ->
|
|||
exec 'coffee ' + testFile + ' -v', (err, stdout, stderr) ->
|
||||
throw err if err
|
||||
console.log stdout + stderr
|
||||
|
||||
task 'build', 'build the snowflake proxy', ->
|
||||
exec 'coffee -o build -c snowflake.coffee', (err, stdout, stderr) ->
|
||||
throw err if err
|
||||
console.log stdout + stderr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue